railway isn't using the specified node version
idorenyinudoh
HOBBYOP

a year ago

i keep getting this error message — The engine "node" is incompatible with this module. Expected version "18.20.6". Got "20.18.0"

i've specified it in my package.json, the NIXPACKS_NODE_VERSION environment variable, and even the .nvmrc file

idk what to try anymore — i'm frustrated as-is

Solved

6 Replies

unicodeveloper
PRO

a year ago

Do you have any node version specified also in the railway.json file?


Status changed to Awaiting User Response Railway about 1 year ago


idorenyinudoh
HOBBYOP

a year ago

according to the railway.json schema, there's no provision to specify the node version on there


Status changed to Awaiting Railway Response Railway about 1 year ago


unicodeveloper
PRO

a year ago

Can you remove the node engine part from the package.json? Let's see what it tells you when it redeploys.


Status changed to Awaiting User Response Railway about 1 year ago


unicodeveloper

Can you remove the node engine part from the package.json? Let's see what it tells you when it redeploys.

idorenyinudoh
HOBBYOP

a year ago

just did — same thing


Status changed to Awaiting Railway Response Railway about 1 year ago


idorenyinudoh
HOBBYOP

a year ago

hey, still waiting for a response 👋🏽


a year ago

Hmmm I thought I had replied here before, my apologies.

You had set yarn to be installed, and in doing so Node 20 inadvertently got installed, so I've removed all the yarn stuff, and now your build has gone out successfully!

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

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


Loading...