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?
Solution:Jump to 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
6 Replies
Project ID:
efa50532-d20f-42f4-97bc-fef1ac713a67
efa50532-d20f-42f4-97bc-fef1ac713a67
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
all is working now but it crashes due to heap out of memory how can i limit or change that stuff?
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 infothey're on the trial plan and limited to 500mb
what kind of app is this anyway?