Update Node
eluchsinger
PROOP

8 months 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

itsrems
EMPLOYEE

8 months 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 8 months ago


itsrems
EMPLOYEE

8 months ago

note, I was using railpack


eluchsinger
PROOP

8 months ago

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


Status changed to Awaiting Railway Response Railway 8 months ago


Railway
BOT

8 months 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 8 months ago


christian
EMPLOYEE

8 months 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 8 months ago


Railway
BOT

7 months ago

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


Loading...