【问题解决】本地pnpm版本与packageManager中pnpm版本不一致_if you want to bypass this version check, you can -CSDN博客
使用 uniBest 创建项目 pnpm create unibest 选择了demo模板,想看下下demo中各种用法,创建成功后进入项目 pnpm i 时候报错:
ERR_PNPM_BAD_PM_VERSION This project is configured to use v8.15.1 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 就解决了
回复 (2)
W
包管理器都要指定版本? 真抽象
I
包锁定一下
来自拉风的 Taro-cnode
参与回复
登录后即可参与回复。登录