Deployment Failed during build process(node 14)

Hello someone can help me, i tried to build my angular pj but i got few problems, i use Node 14 on my local dev, and the qs that i will need to change this on railway? or i can solve changing the versions of the dependencies?
No description
Solution:
node 14 is no longer supported, you would need to write up a quick and simple Dockerfile to build and run your app with node 14
Jump to solution
6 Replies
Percy
Percy5mo ago
Project ID: efa50532-d20f-42f4-97bc-fef1ac713a67
Noodlexz
Noodlexz5mo ago
efa50532-d20f-42f4-97bc-fef1ac713a67
Solution
Brody
Brody5mo ago
node 14 is no longer supported, you would need to write up a quick and simple Dockerfile to build and run your app with node 14
Noodlexz
Noodlexz5mo ago
all is working now but it crashes due to heap out of memory how can i limit or change that stuff?
No description
Derock
Derock5mo ago
iirc to change the node.js heap limit, you can set the environment variable NODE_OPTIONS to --max-old-space-size=4096 (changing 4096 to whatever you feel fits, this is in megabytes, so 4096 = 4096mb or 4GB) see the nodejs docs for more info
Brody
Brody5mo ago
they're on the trial plan and limited to 500mb what kind of app is this anyway?
Want results from more Discord servers?
Add your server