Skip to content
Pnpm install failing

3 years ago

Hello, I'm trying to run a Next.js project on Railway, and pnpm package installs are starting to fail. It's complaining about absent pnpm-lock.yaml files, but there is one present in my project.

One culprit I could find would be a message saying that a not compatible pnpm-lock.yaml is being ignored. I tried regenerating the lockfile, but its not solving the problem.

Solved

9 Replies

3 years ago

373adf74-9386-4310-a349-b60eeac5ee3e


3 years ago

make sure your lock file is generated with pnpm v8


Status changed to Solved Railway • over 2 years ago


3 years ago

I'm using 9.0.4 right now


3 years ago

will that not work?


3 years ago

it will not


3 years ago

interesting


3 years ago

thank you


darmau

3 years ago

Same error here, I'm using pnpm 9.x


3 years ago

Use pnpm 8x


Welcome!

Sign in to your Railway account to join the conversation.

Loading...