Vite frontend application failed to respond
pedramnavid
HOBBYOP

4 months ago

I have a monorepo with ./frontend and ./backend. I managed to get the ./backend working however am struggling with the frontend.

I tried using Caddy, and have a Caddyfile and nixpacks.toml I took from https://github.com/brody192/vite-react-template using an older commit. That did not work, so I tried using the Railpack builder and I still get the application failed to respond. However, i see no errors in the build logs and it works fine locally.

npm run build builds the files.

locally running caddy run --config Caddyfile --adapter caddyfile opens a server on 3001 as well.

$10 Bounty

2 Replies

Railway
BOT

4 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


clashing
FREE

4 months ago

Can you provide your GitHub repo link?


Loading...