-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte preview
server crashes when running in Deno
#26115
Comments
Can reproduce. These are the full steps:
|
Is this being worked on? I have the feeling the solution is to force "every package" to comply with the "node:" or "npm:" specifiers because deno needs it... It simply doesn't feel like "deno can be used as a drop-in replacement for node/bun" as stated in the "deno 2 release video/notes/etc." ... I'm ok with having issues, no probs at all... I like deno a lot, switched completely from nodejs and never looked back I'm used to having issues with a lot of npm packages, been there, done that.... Just don't state node compat if it requires the node ecosystem to change their code... Would it be a temp solution to "just" try assuming without specifiers it's either node: or npm: for the time being? |
Yes, we reviewed it today during the meeting and will prioritize fixing Svelte compatibility. |
Fixes #26115. We weren't normalizing the headers to lower case, so code that attempted to delete the `Content-Length` header (but used a different case) wasn't actually removing the header.
deno run dev
works as expected but when runningdeno run build && deno run preview
it fails withERR_EMPTY_RESPONSE
. Works as expected in both node and bun.Please let me know if you have any questions or need further info. Thanks to the devs for all their hard work!
Minimal sample repro project: https://github.com/ylor/deno-repro-svelte
The text was updated successfully, but these errors were encountered: