Closed alex-pirogov closed 9 months ago
i ran into the same issue (on deployment, not locally), running bun:1.0-slim
. switching to the node adapter worked for me too
"@sveltejs/kit": "^2.0.0",
"svelte-adapter-bun": "^0.5.1",
"vite": "^5.0.3"
@gornostay25 i'm down to help investigate this, and to contribute to the svelte-adapter-bun
project more generally
for me it seems POST breaks when using hooks to modify locals, can't access body or form data, it just hangs there using the node adapter works fine
additionally dev build breaks when modifying the hooks file, it fails to find hooks.ts~
(sic) and requires you to restart the dev server
Hello,
POST breaks [...] can't access body or form data, it just hangs there
I'm experiencing the same issue, even without hooks.
Any news on this @gornostay25 ?
Thanks
Hey!
I have the following handler in my project:
The app is served with docker and proxied with nginx. When testing this endpoint with curl i receive following response, which means i cant read the body of my request.
I've confirmed the body is transferred correctly to my server by adding body's content to nginx response headers. And also i've tried to deploy my app using node adapter and it works perfectly fine.