报错:
ERR_PNPM_BAD_PM_VERSION This project is configured to use v8.6.10 of pnpm. Your current pnpm is v9.1.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"
解决办法:
在项目目录中找到.npmrc文件 加上这句:package-manager-strict=false
# 问题:ERR_PNPM_BAD_PM_VERSION This project is configured to use v8.6.10 of pnpm. Your current pnpm is v9.1.0
# 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”
package-manager-strict=false