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
We use adapter-node to build and deploy our app to staging. We normally copy the build folder and run npm ci --omit=dev --ignore-scripts to install runtime dependencies we use. SvelteKit used to package everything into the build folder. Over that last two weeks, a change was made, and the build now has three runtime dependencies that aren't installed unless you install dev packages. Not sure if it was an oversight in the documentation or the development. We worked around the issue by adding these packages as runtime dependencies in the package.json file.
Describe the bug
We use
adapter-node
to build and deploy our app to staging. We normally copy thebuild
folder and runnpm ci --omit=dev --ignore-scripts
to install runtime dependencies we use. SvelteKit used to package everything into thebuild
folder. Over that last two weeks, a change was made, and the build now has three runtime dependencies that aren't installed unless you install dev packages. Not sure if it was an oversight in the documentation or the development. We worked around the issue by adding these packages as runtime dependencies in thepackage.json
file.Reproduction
npm ci
npm run build
node build/index.js
to confirm that the app startsnpm ci --omit=dev --ignore-scripts
node build/index.js
to confirm that the app now failsLogs
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: