S
SolidJS5mo ago
zimo

Generic yet obscure Vinxi error when compiling

┌──────────────────────────────────────┐
│ 📦 Compiling server-fns router... │
└──────────────────────────────────────┘
vinxi building router server-fns in http mode
vite v5.3.3 building SSR bundle for production...
✓ 0 modules transformed.
x Build failed in 53ms

ERROR Could not resolve entry module "$vinxi/handler/server-fns". 14:13:17

at getRollupError (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at error (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
at ModuleLoader.loadEntryModule (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/node-entry.js:19092:20)
at async Promise.all (index 0)



ERROR Could not resolve entry module "$vinxi/handler/server-fns". 14:13:17
┌──────────────────────────────────────┐
│ 📦 Compiling server-fns router... │
└──────────────────────────────────────┘
vinxi building router server-fns in http mode
vite v5.3.3 building SSR bundle for production...
✓ 0 modules transformed.
x Build failed in 53ms

ERROR Could not resolve entry module "$vinxi/handler/server-fns". 14:13:17

at getRollupError (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at error (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
at ModuleLoader.loadEntryModule (/C:/projects/polandballworld/node_modules/rollup/dist/es/shared/node-entry.js:19092:20)
at async Promise.all (index 0)



ERROR Could not resolve entry module "$vinxi/handler/server-fns". 14:13:17
How am I supposed to interpret and try to debug this error? Caused when npm run build
1 Reply
zimo
zimoOP5mo ago
Solved :) Updated Vinxi from 0.3.10 -> 0.3.14 I had prior dependencies that prevented me from using newer versions
Want results from more Discord servers?
Add your server