小工具知识网

当前位置: 首页 > 行业知识 > 【问题解决】本地pnpm版本与packageManager中pnpm版本不一致

行业知识

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

2026-10-26 11:42:43 来源:互联网转载

问题: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

()

上一篇:怎么用html做网页?

下一篇:魔兽世界北京服务器云空间怎么用