Next.js ERR_INVALID_URL reproduction.
- Run
npm ci
to install dependencies. - Run
npm run build
to build the project. - Run
npm start
to start the server. - Run
npm run request
in separate terminal to send killing request. - Observe
UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_URL]: Invalid URL: *
. This should kill the server on node 16.