build instantly failing
ive always had no problems deploying the project but now its just crashing
10 Replies
Project ID:
c1b1e5b6-69a3-45cd-a1d5-232bf809521b
c1b1e5b6-69a3-45cd-a1d5-232bf809521b
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
how would i do that
really sorry i have no idea how to code im just hosting it
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 18it still crashed but the error message seems to be different
That doesn't seem to be the complete log
oh sorry it didnt copy the entire thing
1s
i redeployed it and ig it worked
tysm!
No problem! Glad it worked for you