newly deployed project failed instantly on committing and pushing code to github
i have a basic bot i just committed and pushed to github thats using djs and when i deployed it, it failed. idk what happened really.
8 Replies
Project ID:
N/A
You might find these helpful:
- bot not starting and project always errors after building and deploying
- Deploying sucessfull but with not all features working
⚠️ experimental feature
What do the logs say?
![](https://utfs.io/f/8d751d87-9a95-4595-97ba-c6d0ee15e925-v5xaa8.34.52_PM.png)
Where is your
package.json
located?the guide i was using said put everything inside the folder
![](https://utfs.io/f/86101fbf-b97f-46d0-934d-c1ecfd1da192-v5xaa8.35.39_PM.png)
Normally, I'd recommend putting your
package.json
in the root of your project, and that's what Railway assumes. For this structure, you can set the "Root Directory" setting under General in your service settings to src
.ohh okay
ty