R
Railway14mo ago
Dihui

build instantly failing

ive always had no problems deploying the project but now its just crashing
10 Replies
Percy
Percy14mo ago
Project ID: c1b1e5b6-69a3-45cd-a1d5-232bf809521b
Dihui
DihuiOP14mo ago
c1b1e5b6-69a3-45cd-a1d5-232bf809521b
Dihui
DihuiOP14mo ago
MantisInABox
MantisInABox14mo 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
DihuiOP14mo ago
how would i do that really sorry i have no idea how to code im just hosting it
MantisInABox
MantisInABox14mo 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
DihuiOP14mo ago
it still crashed but the error message seems to be different
MantisInABox
MantisInABox14mo ago
That doesn't seem to be the complete log
Dihui
DihuiOP14mo ago
oh sorry it didnt copy the entire thing 1s i redeployed it and ig it worked tysm!
MantisInABox
MantisInABox14mo ago
No problem! Glad it worked for you
Want results from more Discord servers?
Add your server