Can't find server file when start Remix + Vite application #9128
Replies: 3 comments 3 replies
-
Hello. I'm not sure how it works on Bun but maybe that might help you. See here I was having problem deploying my Vite app to Cloudflare and solved by changing the output directory to |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same problem here (not using Bun though), any luck fixing this? ![]() |
Beta Was this translation helpful? Give feedback.
-
Running into the same issue. In my case this is caused by the vercel presets. My solution is to use the vercel presets only in the vercel environment:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having the following issue when I start my app:
Error: ENOENT: no such file or directory, stat '/../build/server/index.js'
This is the build output:

I noticed the server index file is being generated in a different path from the expected. Should be
server/index.js
instead?I'm using Bun version 1.0.35
This is my repo: https://github.com/pauloricardos/pokedex-web-app
Already removed the
bun.lockb
,build
folder andnode_modules
and tried to build and start again.Beta Was this translation helpful? Give feedback.
All reactions