Unable to launch server in production by node build/index.js
#7069
Unanswered
JinIgarashi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to migrate sveltekit from
1.0.0-next.355to the latest version -1.0.0-next.504, and adapter-node from1.0.0-next.78to1.0.0-next.95.yarn run devandyarn run build -> yarn run previeware successfully done, but when I launch server by nodejs throughnode build/index.js, it has the following errors.I asked this issue in discord, I got few responses. Someone said there is similar issue when he migrated from esbuild to rollup, and
adapter-nodealso migrated from esbuild since v93.I tried to downgrade
adapter-nodeto1.0.0-next.92. Building failed, but it produced the following different error message. I think maybepg-nativewhich is used innode-postgresmight have an issue of building.I am not sure whether there is a problem on building our source code. I guess it might be an issue on
adapter-node? or an issue on our configurations like svelte.config.js and vite.config.js?Does anyone have similar experience or ideas to figure out this problem?
Beta Was this translation helpful? Give feedback.
All reactions