disable
I have setup a new front end for my application using Vite + React Typescript. It worked before, but now I'm getting an error when I try to deply: Error: No start command could be found
This shouldn't be necessary, afaik - but what could have gone wrong? Any ideas?
I tried renaming main.tsx -> index.tsx upon some discussion with a friend, but to no avail.
9 Replies
Project ID:
6bb9f14d-2f2c-4af6-9342-ac59add64848
⚠️ experimental feature
6bb9f14d-2f2c-4af6-9342-ac59add64848
@Adam
Please send your repo if it’s public
There are two ways to go about fixing this. You can rearrange your project so Railway is able to recognize a start command, or you can add a start command of your own
The start command is just the command you use to run your app. Should be the same as what you do locally
you can add it in the service settings
I don't really have a start command though, it's just a website?
How do you launch it locally?
npm run dev
then there you go
I guess I could try that 😄
Working on it
Well, it deployed correctly, but something isn't working :/ have to troubleshoot some more tomorrow
https://chessadmin-frontend-production.up.railway.app/