15 days ago
Hey team 👋, my bot fails to deploy on Railway with this error: Deployment failed during initialization process
Failed to parse your service config. buildCommand and startCommand cannot be the same.
The code works fine locally and on the repo, all slash commands and env variables are correct. The issue is only with the Railway config. Currently, buildCommand and startCommand are set the same
And this is the repo
https://github.com/Gofretfkintank/OM-Bot
7 Replies
15 days ago
Have you seen the error message in your screenshot?
You probably wrote this about the messages the bot sends to the chat, but I've already figured those out. The reason I'm posting this is because it's related to the railway error again.
15 days ago
Failed to parse your service config. `buildCommand` and `startCommand` cannot be the same. You've likely set this as a mistake. To start a server on Railway, remove the `buildCommand` and set the `startCommand` to the command to start your server.15 days ago
This is what your build has failed with.
Okay, I understand now. Sorry for wasting your time; I've been spending the last few days fixing bot errors.
15 days ago
No worries
Status changed to Solved brody • 14 days ago