首页 前端知识 【问题解决】本地pnpm版本与packageManager中pnpm版本不一致

【问题解决】本地pnpm版本与packageManager中pnpm版本不一致

2024-05-19 09:05:36 前端知识 前端哥 915 646 我要收藏

问题: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”
.npmrc中添加package-manager-strict=false

转载请注明出处或者链接地址:https://www.qianduange.cn//article/8898.html
标签
评论
会员中心 联系我 留言建议 回顶部
复制成功!