R
Railway4w 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
Percy4w ago
Project ID: 6ec6ed0d-1656-46be-be8b-2b378cd223fa
Sharp
Sharp4w ago
6ec6ed0d-1656-46be-be8b-2b378cd223fa downgraded to pnpm latest-8 and that did the trick, apologies
Solution
Brody
Brody4w 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
Sharp4w ago
got it, tysm as always brody ❤️
Brody
Brody4w ago
hey @Sharp just wondering if that worked for you?
Sharp
Sharp4w ago
yep!
Brody
Brody3w ago
awesome
Want results from more Discord servers?
Add your server
More Posts