20 days ago
I'm not using a Docker. I have .nvmrc in the project root calling for node 26 the "current version", and engines.node. But Railway deploy used Node 18 which doesn't work, since I'm also using pnpm 11. Where do I set the version of Node when deploying from github to Railway? Where does the dployment report the issue with Node?
1 Replies
20 days ago
The Node.js version is picked up from engines.node in your package.json or from .nvmrc, but only actively maintained LTS versions are officially supported (Node 26 is not an LTS release). You can also override the version by setting the RAILPACK_NODE_VERSION environment variable on your service. If none of those resolve, the default is Node 22, so getting Node 18 suggests the version field may not be resolving as expected. Double-check that engines.node in your package.json specifies a supported version (e.g. "engines": {"node": "22"}) and redeploy.
Status changed to Awaiting User Response Railway • 20 days ago
13 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 13 days ago