Build fails with not compatable lock file.
zko_world
HOBBYOP

2 years ago

All ive done is simply push an update and the build logs keep saying my lockfile is not compatable.

Ive already deleted and regenerated it. Im using PNPM

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

2 Replies

brody
EMPLOYEE

2 years ago

Use pnpm v8.

Or, set the pnpm version as shown in the nixpacks docs here -

https://nixpacks.com/docs/providers/node#corepack


Status changed to Solved Railway over 1 year ago


zko_world
HOBBYOP

2 years ago

Thats not a real solution. pnpm v8 is ancient. The entire point of your service is that I dont have to deal with this crap. Why isnt this in your docs?Also it works if I place this in my package.json:

"packageManager": "pnpm@9.1.4"Why isnt that in the docs or just automated? Is there some issue with doing that?


Loading...