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
Server listening on http://localhost:3000
Error: [@brillout/vite-plugin-server-entry@0.4.3][Wrong Usage] Cannot find server entry. (Re-)build your app and try again. If you still get this error, then you may need to manually import the server entry, see https://github.com/brillout/vite-plugin-server-entry#manual-import
at importServerEntry (/home/fl/tmp/my-app/node_modules/.pnpm/@brillout+vite-plugin-server-entry@0.4.3/node_modules/@brillout/vite-plugin-server-entry/dist/importServerEntry/index.js:51:29)
at async loadImportBuild (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.160_vite@5.0.12/node_modules/vike/dist/esm/node/runtime/globalContext/loadImportBuild.js:13:9)
at async initGlobalContext (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.160_vite@5.0.12/node_modules/vike/dist/esm/node/runtime/globalContext.js:75:30)
at async renderPageAndPrepare (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.160_vite@5.0.12/node_modules/vike/dist/esm/node/runtime/renderPage.js:66:9)
at async renderPage_wrapper (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.160_vite@5.0.12/node_modules/vike/dist/esm/node/runtime/renderPage.js:26:24)
at async renderPage (file:///home/fl/tmp/my-app/node_modules/.pnpm/vike@0.4.160_vite@5.0.12/node_modules/vike/dist/esm/node/runtime/renderPage.js:46:50)
at <anonymous> (/home/fl/tmp/my-app/express-entry.ts:75:25)
Can you please take a look into this?
If the preview script NODE_ENV=production tsx ./express-entry.ts would work, is it also suited to run in production? In VPS this is "server:prod": "cross-env NODE_ENV=production npm run server", is there any advantage using the former?
The text was updated successfully, but these errors were encountered:
Check:
Output excerpt:
Then
and
Output excerpt:
Can you please take a look into this?
If the
preview
scriptNODE_ENV=production tsx ./express-entry.ts
would work, is it also suited to run in production? In VPS this is"server:prod": "cross-env NODE_ENV=production npm run server"
, is there any advantage using the former?The text was updated successfully, but these errors were encountered: