You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to add adapter-begin to my freshly-created SvelteKit project, but now svelte-kit build fails with
Cannot find module '<snip>/node_modules/@sveltejs/adapter-begin/index.js' imported from <snip>/svelte.config.js
Did you mean to import @sveltejs/adapter-begin/index.cjs?
Changing it to importing @sveltejs/adapter-begin/index.cjs also fails with the message
Package subpath './index.cjs' is not defined by "exports" in <snip>/node_modules/@sveltejs/adapter-begin/package.json imported from <snip>/svelte.config.js
Logs
N/A
To Reproduce
Create a fresh SvelteKit project, making sure to enable TypeScript
Describe the bug
I'm trying to add
adapter-begin
to my freshly-created SvelteKit project, but nowsvelte-kit build
fails withChanging it to importing
@sveltejs/adapter-begin/index.cjs
also fails with the messageLogs
N/A
To Reproduce
npm run build
Expected behavior
I expect to be able to import and use a first-party adapter after creating a project from the first-party scaffold.
Stacktraces
N/A
Information about your SvelteKit Installation:
N/A
Severity
It's blocking my intended use case entirely.
Additional context
n/A
The text was updated successfully, but these errors were encountered: