a year ago
Why did I fail to build in this container despite being able to do so locally
ⓘ Deployment information is only viewable by project members and Railway employees.
2 Replies
a year ago
Hi Zane,
Your build logs contain: Treating warnings as errors because process.env.CI = true
This will make your build fail if there are warnings. Ideally, you'll want to fix the warnings.
Alternatively (less ideal), you can set an environment variable for the service, named CI, and set the value to false.
Regards,
Christian
Status changed to Awaiting User Response Railway • over 1 year ago
a year ago
Additionally, It looks like you are attempting to run a development server, that's going to be costly and will cause stability issues.
https://github.com/brody192/create-react-app-starter
To run a production ready server, simply copy the nixpacks.toml and Caddyfile into your project from that GitHub repo!
7 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 • 7 months ago