Node version problem
I am in need of Node v18 in my project due to some features. But while deploying to railway it is defaulting to node 16, but not the latest version.
I want to know if there is a way to specify the nodeJS version to use while deploying in railway.
Solution:Jump to solution
yes though i personally prefer the
Specifying the engines.node field in package.json
method7 Replies
Project ID:
7e6088d8-5593-4608-addd-176093e13841
7e6088d8-5593-4608-addd-176093e13841
yes you can specify major versions of node, 18 is supported
https://nixpacks.com/docs/providers/node#setup
So basically I can specify the node version through the env variable NIXPACKS_NODE_VERSION in variable tab in railway before deploying ?
Solution
yes though i personally prefer the
Specifying the engines.node field in package.json
methodthanks much
no problem