config file railway.json does not exist in the new created environment

I have a project already working with Github and Postgress, I created a new environment from it, but now I can't deploy the project from Github because it keeps giving the error "config file railway.json does not exist", and that it is configured exactly the same as the main environment project.
Solution:
I solved the problem, I simply had to specify the path /backend/railway.json, I didn't know I had to do this because I thought it would get everything I specified in the field above as "/backend"
Jump to solution
30 Replies
Percy
Percy9mo ago
Project ID: 6eca6984-5b4b-40cd-9660-dab7e99f7321
Mario Paglia
Mario Paglia9mo ago
6eca6984-5b4b-40cd-9660-dab7e99f7321
Brody
Brody9mo ago
can you show a screenshot of this error?
Mario Paglia
Mario Paglia9mo ago
@Brody
No description
Mario Paglia
Mario Paglia9mo ago
No description
Brody
Brody9mo ago
where is your railway.json file located
Mario Paglia
Mario Paglia9mo ago
@Brody The project is configured exactly the same as the production environment, but in the development environment that I created it does not work, as it is the same project, the same path but with a new database /backend/railway.json
Brody
Brody9mo ago
what is the root directory set to
Mario Paglia
Mario Paglia9mo ago
This here is the same project running in the production environment, with the same configuration, same commit and same railway.json file
No description
Mario Paglia
Mario Paglia9mo ago
Produtction
No description
Mario Paglia
Mario Paglia9mo ago
Development (new environment)
No description
Brody
Brody9mo ago
do you perhaps have a service variable that's trying to tell railway where a railway.json is?
Mario Paglia
Mario Paglia9mo ago
No description
Brody
Brody9mo ago
well then that's about all the basic debugging steps I can think of, I will have to flag the team
Want results from more Discord servers?
Add your server