Closed KeithAndreRose closed 2 years ago
I can reproduce if I downgrade to Node 16.7. Haven't yet figured out why. In the meantime, if you're able to upgrade to the latest 16.x (or 18.x), that should fix things
Can confirm things run smooth upgrading to node v16.15.1
, thanks!
Seems to occur on node versions below v16.9.0
Why it is breaking in a patch version upgrade of svelte-kit? Shouldn't this be a breaking change for svelte-kit?
@rajasegar it's not like it was intentional
I just created a new project based on the Svelte demo app and testing out the Sverdle, I am getting the same response as you guys above "Invalid request body" (see screenshot). I have also tested this with a skeleton project and a custom POST endpoint and am running into the same issue there as well. Is anyone else able to reproduce this?
Node versions tested: v16.15.1, v16.18.0 and v18.12.0
"@sveltejs/adapter-auto": "1.0.0-next.84", "@sveltejs/kit": "1.0.0-next.525",
I am getting the same error with "Invalid request body" node version 21.4.0 "vite": "^4.4.2" "@sveltejs/kit": "^1.27.4",
@mylastore I also got the same issue today and I opened https://github.com/sveltejs/kit/issues/11334 for it. If you do have a reproduction please add it there.
Describe the bug
I upgraded svelte-kit to its latest version today. I configured my project to use the new vite.config.js setup, however now "Invalid request body" is the only response I get in the browser for all routes (except proxy rules). It's occurring while using the default starter/skeleton project as well.
There are no errors reported in the terminal. Configured server proxy rules do resolve.
Reproduction
npm create svelte my-app cd my-app npm install npm run dev -- --open
Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response