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
✓ built in 3.31s
[4:03:31 PM] ✔ build done
⚙ Built your router server-fns successfully
⚙ Preparing app for node-server...
[vinxi 4:03:31 PM] ✔ Generated public .output/public
[vinxi 4:03:31 PM] ℹ Initializing prerenderer
[vinxi 4:03:31 PM] ℹ Building Nitro Server (preset: nitro-prerender, compatibility date: 2024-11-25)
[vinxi 4:03:32 PM] ERROR RollupError: Could not resolve "./sources" from "./sources?commonjs-external"
undefined
[4:03:32 PM] ERROR Could not resolve "./sources" from "./sources?commonjs-external"
at getRollupError (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:397:41)
at error (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:393:42)
at ModuleLoader.handleInvalidResolvedId (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21328:24)
at node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21288:26
[4:03:32 PM] ERROR Could not resolve "./sources" from "./sources?commonjs-external"
ELIFECYCLE Command failed with exit code 1.
There are only a couple dependencies that reference imports from "./sources" internally -- stripe and fingerprintjs and if I comment out the imports that use them I still get the same error.
I'm not really sure how to continue troubleshooting
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to migrate from vite to solid-start and I'm having a hard time tracking down what is causing this issue
here is my config
here is the build output
There are only a couple dependencies that reference imports from "./sources" internally -- stripe and fingerprintjs and if I comment out the imports that use them I still get the same error.
I'm not really sure how to continue troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions