| SvelteKit issue
Sveltekit auto-adapter error I found and managed to workaround. Hopefully this gets fixed in the future.
Feb

I recently ran into an error where upgrading SvelteKit via npm upgrade caused the following error:

Cannot find module './my-app/node_modules/@sveltejs/adapter-auto/adapters.js' imported from ./my-app/node_modules/@sveltejs/adapter-auto/index.js

What appears to have happened is the package.json file was modified and the following lines was removed:

"@sveltejs/adapter-auto": "next",

Adding this line to the devDependecies section and then rerunning npm upgrade or npm install seemed to fix it.

1
2
3
4
5
6
7
8
{
    "devDependencies": {
        "@sveltejs/adapter-auto": "next",
    },
    "dependencies": {
        ...
    }
}

Update: This seemes to be resolved with the recent SvelteKit updates.