#railway changes node version .

18 messages · Page 1 of 1 (latest)

final cove
#

I've a docker file that require node 18.19.1 but when run with railway it changes to 18.20.2 which cause errors in build

fierce edgeBOT
#

Project ID: b7971003-5caf-446a-adb5-6a88dcd7e375

final cove
#

b7971003-5caf-446a-adb5-6a88dcd7e375

#

Docker runs locally as expected . but when deploy on railway it fails because of that different version

#

also I've specified the docker path in .env

RAILWAY_DOCKERFILE_PATH=Dockerfile.main and it's detected as expected . but the node version is not the same

final cove
#

@fierce edge

final cove
#

@fierce edge

ashen fjord
#

Percy is a bot

final cove
ashen fjord
#

these are the deployment logs

final cove
ashen fjord
#
load metadata for docker.io/library/node:18.19.1

What makes you think 18.20.2 is being used?

final cove
#

Logs was provide 18.20.2 . but after set NIXPACKS_NODE_VERSION to 18.19.1 . it changes it to 18.19.1

ashen fjord
#

nixpacks is not being used here, you are using a Dockerfile as per your build logs

final cove
#

Issue fixed . I've changed and upgrades some packages . and now deploy works as expected

#

thanks @fierce edge @ashen fjord

ashen fjord
#

Percy is still only a bot