adapter-node is erroring on all requests
See original GitHub issueUpdating adapt-node from "1.0.0-next.09",
to "1.0.0-next.11"
is now resulting in the error always being raised when running the server.
node build/index.js
Listening on port 3000
node:internal/process/promises:245
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError [ERR_INVALID_URL]: Invalid URL: /
at new NodeError (node:internal/errors:329:5)
at onParseError (node:internal/url:537:9)
at new URL (node:internal/url:613:5)
at Array.<anonymous> (file:///Users/samccone/Desktop/repos/edit/build/index.js:14294:18)
at loop (file:///Users/samccone/Desktop/repos/edit/build/index.js:13728:58)
at next (file:///Users/samccone/Desktop/repos/edit/build/index.js:13729:69)
at Array.noop_handler (file:///Users/samccone/Desktop/repos/edit/build/index.js:14283:44)
at loop (file:///Users/samccone/Desktop/repos/edit/build/index.js:13728:58)
at next (file:///Users/samccone/Desktop/repos/edit/build/index.js:13729:69)
at Array.<anonymous> (file:///Users/samccone/Desktop/repos/edit/build/index.js:14012:28) {
input: '/',
code: 'ERR_INVALID_URL'
}
^ This results in the server crashing and not serving a 404 which is also interesting
I have confirmed that downgrading back to 09 fixes the issue on my end.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
SvelteKit: Using @sveltejs/adapter-node throwing error
I made a configuration changes (instead of @sveltejs/adapter-auto, I used '@sveltejs/adapter-node') in svelte.config.js file. While making the ...
Read more >Node Red crashes and exits with 1 - General
Sill crashing. I deleted and re installed node red from docker. Added all the pallets, then imported my flows... crashing again. I am...
Read more >Solved: CLD200 - Manual Deployment keeps erroring out
Solved: I am going through the CLD200 documentation stepwise and building the sample application. It has been working properly, until I get to...
Read more >Framework, Host, and Services Metric Reference Manual
This metric displays the Globally Unique Identifier of the Host Channel Adapter node. Target Version. Collection Frequency. All Versions. Every 5 Minutes.
Read more >[Solved]-hubot fails to start with flowdock adapter-node.js
Copyright 2022 www.appsloveworld.com. All rights reserved. Ezoic report this ad ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This snuck through CI because the adapters don’t currently have tests - #639.
I’ll open a PR with a fix for the Node adapter and the simplification for the Vercel adapter.
My proposed fix is
but I don’t know why tests didn’t catch this.