Builds failing suddenly
I have done some changes and suddenly builds are failing.
Thought this was due to changes i have pushed but I have redeployed a previous build and the error still occurs.
In the image I did a build 21 hours ago, that was successful. I have done a redeploy of the same build at the end showing 15 minutes ago and the build fails too
![No description](https://cdn.answeroverflow.com/1219624032450904186/Image_19-03-2024_at_14.51.jpg)
22 Replies
Project ID:
4f4f01e5-e5da-4e74-9885-a528f14bc4da
4f4f01e5-e5da-4e74-9885-a528f14bc4da
That is the 'staging' environment build. Have done a redeploy of the prod build that was successful 4 days ago and that is failing too. See below
![No description](https://cdn.answeroverflow.com/1219625235792269332/Image_19-03-2024_at_15.33.jpg)
it's very hard to help with the issue when we aren't told the issue, please provide your build logs with this https://bookmarklets.up.railway.app/log-downloader/
I haven't changed any configs recently I just assumed it was a build issue on railway not on my code or any changed railway configs
do you have a nixpacks.toml file?
Yes
[phases.setup]
nixPkgs = ['nodejs', 'yarn']
[phases.install]
cmds=['yarn install']
do you have a yarn lock file
i have a
package-lock.json
do you use yarn or npm locally?
I use npm, am guessing I should change the nixpacks to npm
No, this causes an error 1 minute into build
please delete your nixpacks.toml file
Okay done