R
Railway2y ago
nixil

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
Percy
Percy2y ago
Project ID: 6bb9f14d-2f2c-4af6-9342-ac59add64848
Percy
Percy2y ago
You might find these helpful: - Deploy VUE 3 JS Application - error in a deploy proyect
⚠️ experimental feature
nixil
nixilOP2y ago
6bb9f14d-2f2c-4af6-9342-ac59add64848 @Adam
Adam
Adam2y ago
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
nixil
nixilOP2y ago
I don't really have a start command though, it's just a website?
Adam
Adam2y ago
How do you launch it locally?
nixil
nixilOP2y ago
npm run dev
Adam
Adam2y ago
then there you go
nixil
nixilOP2y ago
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/
Want results from more Discord servers?
Add your server