vue node依赖包升级npm i 后报错error minimatch@10.0.3: The engine “node“ is incompatible with this module....
摘要: 在升级Vue/Node项目依赖包时,若出现minimatch@10.0.3因Node版本不兼容报错(错误提示引擎版本不符),可通过两种方式解决: 升级本地Node版本至依赖包要求的版本; 忽略引擎检查:执行命令 yarn config set ignore-engines true,再重新运行 yarn install。后者为快速解决方案,但可能影响稳定性,建议长期考虑升级Node环境。
·
vue node依赖包升级npm i 后报错error minimatch@10.0.3: The engine "node" is incompatible with this module....
解决方案
1,本地node版本可以升级到对应版本
2.忽略包的引擎要求 ------yarn config set ignore-engines true 再接着yarn install
更多推荐




所有评论(0)