svelte-kit-broken-endpoints Svelte Themes

Svelte Kit Broken Endpoints

A reproduction of an error related to endoints in SvelteKit.

A reproduction of an error related to endpoints in SvelteKit.

Try launching the dev server, and then running the following command:

curl --request POST \
 --url http://localhost:3000/api/auth/login \
 --header 'content-type: application/json' \
 --data '{
    "email": "[email protected]",
}'

About the issue

Whenever the prepare function of src/setup.js returns anything, the api/auth/login endpoint causes an Error: Transferred a partial file.

Setup details upon fresh install

Disallow TS in components, preprocess with SCSS

Top categories

Loading Svelte Themes