R
Railway13mo ago
Dihui

build instantly failing

ive always had no problems deploying the project but now its just crashing
10 Replies
Percy
Percy13mo ago
Project ID: c1b1e5b6-69a3-45cd-a1d5-232bf809521b
Dihui
Dihui13mo ago
c1b1e5b6-69a3-45cd-a1d5-232bf809521b
Dihui
Dihui13mo ago
MantisInABox
MantisInABox13mo ago
You may need to set your node version to an earlier version. The error message is complaining about node-gyp, and if I remember correctly that was removed in newer versions of node
Dihui
Dihui13mo ago
how would i do that really sorry i have no idea how to code im just hosting it
MantisInABox
MantisInABox13mo ago
You would set an environment variable on your service called NIXPACKS_NODE_VERSION with the node version. The value would be 14, 16, 18 or 20 It defaults to 18
Dihui
Dihui13mo ago
it still crashed but the error message seems to be different
MantisInABox
MantisInABox13mo ago
That doesn't seem to be the complete log
Dihui
Dihui13mo ago
oh sorry it didnt copy the entire thing 1s i redeployed it and ig it worked tysm!
MantisInABox
MantisInABox13mo ago
No problem! Glad it worked for you
Want results from more Discord servers?
Add your server