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.
No description
No description
Solution:
make sure your lock file is generated with pnpm v8
Jump to solution
7 Replies
Percy
Percy5mo ago
Project ID: 373adf74-9386-4310-a349-b60eeac5ee3e
proudparrot2
proudparrot25mo ago
373adf74-9386-4310-a349-b60eeac5ee3e
Solution
Brody
Brody5mo ago
make sure your lock file is generated with pnpm v8
proudparrot2
proudparrot25mo ago
I'm using 9.0.4 right now will that not work?
Brody
Brody5mo ago
it will not
proudparrot2
proudparrot25mo ago
interesting thank you
Duchess
Duchess4mo ago
New reply sent from Help Station thread:
Same error here, I'm using pnpm 9.x
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Use pnpm 8x
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server