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
When using adapter-node on the latest version (next-88) I am still receiving errors regarding the devalue package.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'devalue';
const { devalue } = pkg;
I know that #6394, #6372 state that this has been fixed, so I suppose this is my mistake but I do not know what is wrong. Comparing to the default SvelteKit template, my configuration does not seem to mismatch. The only change done was to change the build result directory to be dist so nothing that should break it. The following is the package.json used currently.
When creating a SvelteKit project, using the default template, with TypeScript / eslint / playwright and all. When changing the adapter to adapter-node and importing that in the svelte config file, the project does not work.
I have created a StackBlitz project with this setup:
I downloaded your repro, installed dependencies, and everything worked fine (after I'd addressed the breaking changes within SvelteKit). Have you tried rm -rf node-modules pnpm-lock.yaml && pnpm i?
Describe the bug
When using
adapter-node
on the latest version (next-88
) I am still receiving errors regarding thedevalue
package.I know that #6394, #6372 state that this has been fixed, so I suppose this is my mistake but I do not know what is wrong. Comparing to the default SvelteKit template, my configuration does not seem to mismatch. The only change done was to change the build result directory to be
dist
so nothing that should break it. The following is the package.json used currently.Reproduction
When creating a SvelteKit project, using the default template, with TypeScript / eslint / playwright and all. When changing the adapter to
adapter-node
and importing that in the svelte config file, the project does not work.I have created a StackBlitz project with this setup:
https://stackblitz.com/edit/typescript-fbdbs4?file=package.json
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: