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
When running bun run start (vinxi start) I get the following error: Cannot find module '/..../.output/server/index.mjs' imported from /...../node_modules/vinxi/bin/cli.mjs
I solved this by explicitly setting the preset to node-server. It seems to be using vercel preset by default (even though in the vinxi docs it says it uses node-server by default).
Which project does this relate to?
Start
Describe the bug
When running
bun run start
(vinxi start) I get the following error:Cannot find module '/..../.output/server/index.mjs' imported from /...../node_modules/vinxi/bin/cli.mjs
I have no problems building the project.
Your Example Website or App
https://tanstack.com/router/latest/docs/framework/react/examples/start-basic
Steps to Reproduce the Bug or Issue
Use any example from tanstack start repo.
Run vinxi build then vinxi start.
Expected behavior
It should successfully run the server.
Screenshots or Videos
No response
Platform
Runtime: Bun
Additional context
Some more context nksaraf/vinxi#177
The text was updated successfully, but these errors were encountered: