pnpm lock file not found
ssesfahani
HOBBYOP

2 years ago

The pnpm-lock.yaml file is checked in and the Docker build is complaining the lock file cannot be found. I just wanted to switch from npm to pnpm and it feels like it's just incorrectly cached.

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

Solved

7 Replies


ssesfahani
HOBBYOP

2 years ago

Here is the build logs.

Attachments


brody
EMPLOYEE

2 years ago

Make sure you have a pnpm lock file generated with pnpm 8.


Status changed to Solved Railway almost 2 years ago


ssesfahani
HOBBYOP

2 years ago

10 0.984  WARN  Ignoring not compatible lockfile at /app/pnpm-lock.yaml

I guess this is the bit. It has to be pnpm 8 huh. Ok good to know, thanks.


brody
EMPLOYEE

2 years ago

Let me know if a pnpm lock file version 8 works for you!


ssesfahani
HOBBYOP

2 years ago

Yes it works, thanks


brody
EMPLOYEE

2 years ago

No problem!


Loading...