2 months ago
Update the service root directory to "Public MAS/MAS-Portfolio/MAS-backend" since the configured path "MAS-backend" does not exist in the repository. The build failed immediately during image build because Railway could not locate that directory, and this is unrelated to the recent package.json JSON fix which was already merged correctly.
1 Reply
2 months ago
The root directory is a setting you change yourself: open the service, go to its Settings tab, and set the root directory option to /Public MAS/MAS-Portfolio/MAS-backend, then redeploy. With it set, we only pull files from that directory when building, as described in the monorepo docs.
If you use a railway.json or railway.toml, it does not follow the root directory. Reference it by its absolute path, for example /Public MAS/MAS-Portfolio/MAS-backend/railway.json.
Status changed to Awaiting User Response Railway • about 2 months ago
2 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 2 months ago