question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

thanks for the great package, it really makes life a lot easier.

Version 7 of pnpm was recently released, and --prefer-frozen-shrinkwrap was deprecated in favor of --prefer-frozen-lockfile, causing the hook to exit with an error (and also not work as expected, since the installation does take place, just not with a frozen lock file). See the release notes here.

To the best of my understanding, it is impossible to detect pnpm’s version through filesystem checks, since v7 uses the same lockfile as previous versions, so looks like resorting to pnpm -v is the only way around this

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
TxHawkscommented, Jun 2, 2022

Works perfectly. Thanks!

0reactions
frontsideaircommented, Jun 2, 2022

Cut a new release, can you give it a try? The version is yarnhook@0.5.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatic pnpm v7 Support - Vercel
Vercel now supports pnpm v7. For deployments with a pnpm-lock.yaml file with version: 5.4 , Vercel will automatically use pnpm v7 for ...
Read more >
pnpm v7 · Discussion #3536 - GitHub
make embed-readme false by default; Drop Node.js 12 support (EOL will be 2022-04-30); pnpm install -g pkg write bin commands only to predefined...
Read more >
Installation | pnpm
curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=<version> sh ... Here is a list of past pnpm versions with respective Node.js version support.
Read more >
pnpm - npm
pnpm. 7.0.0-beta.2 • Public • Published 9 months ago ... Supports Windows, Linux, and macOS. ... Support this project by becoming a sponsor....
Read more >
pnpm on Twitter: "The work on pnpm v7 is already in progress ...
The work on pnpm v7 is already in progress. ... every command will be about 0.2 seconds faster * pnpm will work with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found