a month ago
i cant deploy i have been trying for few days why am i getting this error
Attachments
1 Replies
a month ago
Hey! Your builds are failing because Railway can't detect what language/framework your app uses. Your repo has a backend/ and frontend/ folder at the root, but no configuration files (like requirements.txt or package.json) at the top level for Railway to pick up on.
Since you have a monorepo structure, you'll want to set the Root Directory in your service settings to either backend or frontend, depending on which part this service should run. If you want to deploy both, create two separate services, each pointed at the same repo but with different root directories.
You can set this in your service settings under Settings > Source > Add Root Directory.
See https://docs.railway.com/deployments/monorepo for more info.
Status changed to Awaiting User Response Railway • 28 days ago
21 days 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 • 21 days ago