R
Railway15mo 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
Percy15mo ago
Project ID: N/A
darker
darkerOP15mo ago
here's the build logs
darker
darkerOP15mo ago
Adam
Adam15mo ago
The logs mention a dockerfile, if there’s a dockerfile at the root of your project can you please share it?
jr
jr15mo 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
darkerOP15mo ago
thanks a lot lemme try that
jr
jr15mo ago
Can you link the deployment that was working and one that is not
darker
darkerOP15mo ago
this one was working just fine
jr
jr15mo ago
Can you add a railway.toml with the contents
[build]
nixpacksVersion = "1.14.0"
[build]
nixpacksVersion = "1.14.0"
darker
darkerOP15mo 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
Brody15mo 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