R
Railway14mo ago
Darker

app failing to deploy

i would like to know why my app started to stop deploying as it did in the past out of nowhere
11 Replies
Percy
Percy14mo ago
Project ID: N/A
Darker
Darker14mo ago
here's the build logs
Adam
Adam14mo ago
The logs mention a dockerfile, if there’s a dockerfile at the root of your project can you please share it?
jr
jr14mo ago
The default Node version was recently updated to 18. If your app was depending on Node 16, you should pin it in the package.json file
Darker
Darker14mo ago
thanks a lot lemme try that
jr
jr14mo ago
Can you link the deployment that was working and one that is not
Darker
Darker14mo ago
this one was working just fine
jr
jr14mo ago
Can you add a railway.toml with the contents
[build]
nixpacksVersion = "1.14.0"
[build]
nixpacksVersion = "1.14.0"
Darker
Darker14mo ago
ok lemme try apparently its deploying now lets see thanks a lot it works ty may i know what that line does tho?
Brody
Brody14mo ago
tells railway to use a previous nixpacks version, the current version is 1.16.0, you are setting it to 1.14.0
Want results from more Discord servers?
Add your server