R
Railway6mo ago
Sharp

Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent

Tried deleting node modules and reinstalling as instructed in other threads along with deleting lockfile and re installing, nothing seems to work.
Solution:
nixpacks uses pnpm v8 by default, to get it to use pnpm v9 specify a packageManager field in your package.json set to pnpm@latest
Jump to solution
7 Replies
Percy
Percy6mo ago
Project ID: 6ec6ed0d-1656-46be-be8b-2b378cd223fa
Sharp
SharpOP6mo ago
6ec6ed0d-1656-46be-be8b-2b378cd223fa downgraded to pnpm latest-8 and that did the trick, apologies
Solution
Brody
Brody6mo ago
nixpacks uses pnpm v8 by default, to get it to use pnpm v9 specify a packageManager field in your package.json set to pnpm@latest
Sharp
SharpOP6mo ago
got it, tysm as always brody ❤️
Brody
Brody6mo ago
hey @Sharp just wondering if that worked for you?
Sharp
SharpOP6mo ago
yep!
Brody
Brody6mo ago
awesome
Want results from more Discord servers?
Add your server