近日在使用某开源项目时遇到如下报错:
ERR_PNPM_BAD_PM_VERSION This project is configured to use v8.1.0 of pnpm. Your current pnpm is v9.1.2
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"
Process finished with exit code 1
在
.npmrc
文件中添加package-manager-strict=false
即可