Pnpm install failing

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

373adf74-9386-4310-a349-b60eeac5ee3e


brody
EMPLOYEE

2 years ago

make sure your lock file is generated with pnpm v8


Status changed to Solved Railway almost 2 years ago


I'm using 9.0.4 right now


will that not work?


brody
EMPLOYEE

2 years ago

it will not


interesting


thank you


darmau
HOBBY

2 years ago

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


brody
EMPLOYEE

2 years ago

Use pnpm 8x


Loading...