My generated domain says "Application failed to respond"

kweebac
TRIAL

2 years ago

I built my website from my GitHub template, changed the start command to npm run dev, generated a domain and when I go to the domain it says "Application failed to respond". I've tried deleting the project and recreating it, same issue everytime.

7 Replies

kweebac
TRIAL

2 years ago

No issues in the logs either


2 years ago

You would never want to run anything in development when on Railway, what kind of app is this?


kweebac
TRIAL

2 years ago

Does it have anything to do with only being a frontend app?


kweebac
TRIAL

2 years ago

You would never want to run anything in development when on Railway, what kind of app is this?

It's a personal website, no backend


2 years ago

Whats the tech stack? react with create-react-app or maybe Vite?


kweebac
TRIAL

2 years ago

Whats the tech stack? react with create-react-app or maybe Vite?

It's with Vite yeah, React, TS & Tailwind


2 years ago

https://github.com/brody192/vite-react-template

Copy the nixpacks.toml and Caddyfile from this repo into your project, if you have any custom build or start commands set in the service settings please remove them.