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
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-node
> builder.writePrerendered is not a function
at adapt (file:///home/t4/website/client/panel/node_modules/@sveltejs/adapter-node/index.js:37:12)
at adapt (file:///home/t4/website/client/panel/node_modules/@sveltejs/kit/dist/chunks/index4.js:887:8)
at file:///home/t4/website/client/panel/node_modules/@sveltejs/kit/dist/cli.js:1060:11
I have not modified the build command or the node adapter in any way.
Reproduction
I am unable to share code. I will try with an empty SvelteKit repository but after seeing #4224, I thought this might be related/known.
Describe the bug
I am trying to create a self-contained node app with
npm run build
, as described in https://kit.svelte.dev/docs/adapters#supported-environments-node-js, but after vite v2.8.6 builds SSR bundle for production, I get this:I have not modified the build command or the node adapter in any way.
Reproduction
I am unable to share code. I will try with an empty SvelteKit repository but after seeing #4224, I thought this might be related/known.
Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
I am unable to proceed and couldn't find any reference to this issue anywhere.
The text was updated successfully, but these errors were encountered: