Update Node

eluchsinger
PRO

a month ago

There are a few issues when trying to set the NodeJS version. Angular 20 requires Node >= 20.19 or >= 22.12 or >=24.0.0.

Railway has Node v20.18.1 and v22.11.0. There's no way to set to 24.0.0 (or 23.0.0), it just falls back to v18, if you try to use RAILPACK_NODE_VERSION or engines (in package.json).

I've seen a few other related items, but so far no requests to set the minor version.

We need a workaround to either:

  • Set the minor version

  • Set the major version

Currently, we're blocked on both and running out of options.

Solved

5 Replies

a month ago

Heya, can you share your package.json's engines config ? I was able to get this working with this sample repo: https://github.com/itsRems/test-node

Attachments


Status changed to Awaiting User Response Railway about 1 month ago


a month ago

note, I was using railpack


eluchsinger
PRO

a month ago

We used Railpack as a workaround. Nixpack NodeJS version change doesn't work as expected.


Status changed to Awaiting Railway Response Railway about 1 month ago


Railway
BOT

a month ago

Hello!

We've escalated your issue to our engineering team.

We aim to provide an update within 1 business day.

Please reply to this thread if you have any questions!

Status changed to Awaiting User Response Railway about 1 month ago


We've passed the issue with Nixpack NodeJS versions on to our Product team. In the meantime, I'll mark this thread as solved, as you have a working workaround in place.


Status changed to Solved christian about 1 month ago


Railway
BOT

a month ago

❌ The internal ticket Support newer Node versions has been marked as canceled.


Update Node - Railway Help Station