Skip to content

Instantly share code, notes, and snippets.

@aneurysmjs
Created May 21, 2024 00:49
Show Gist options
  • Save aneurysmjs/d301a2c4a07afe2ab665d3b3f4a89611 to your computer and use it in GitHub Desktop.
Save aneurysmjs/d301a2c4a07afe2ab665d3b3f4a89611 to your computer and use it in GitHub Desktop.
pnpm shit

solve ERR_PNPM_BAD_PM_VERSION

discussion

message

ERR_PNPM_BAD_PM_VERSION  This project is configured to use v9.1.1 of pnpm. Your current pnpm is v9.0.4

If you want to bypass this version check, you can set the "package-manager-strict" configuration to "false" or set the "COREPACK_ENABLE_STRICT" environment variable to "0"

solution

corepack use pnpm@`pnpm -v` && pnpm i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment