railway changes node version .
mustafaskyer
HOBBYOP

2 years ago

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

16 Replies

mustafaskyer
HOBBYOP

2 years ago

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


mustafaskyer
HOBBYOP

2 years ago

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


mustafaskyer
HOBBYOP

2 years ago

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


mustafaskyer
HOBBYOP

2 years ago

@Percy


mustafaskyer
HOBBYOP

2 years ago

@Percy


2 years ago

Percy is a bot


2 years ago

full build logs please -


mustafaskyer
HOBBYOP

2 years ago


2 years ago

these are the deployment logs


mustafaskyer
HOBBYOP

2 years ago


2 years ago

load metadata for docker.io/library/node:18.19.1

What makes you think 18.20.2 is being used?


mustafaskyer
HOBBYOP

2 years ago

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


2 years ago

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


mustafaskyer
HOBBYOP

2 years ago

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


mustafaskyer
HOBBYOP

2 years ago

thanks @Percy @Brody


2 years ago

Percy is till only a bot


Loading...