0
点赞
收藏
分享

微信扫一扫

Memento 备忘录模式

北冥有一鲲 2024-11-06 阅读 16
npm前端vue

vue在通过npm install element-plus --save命令安装element-plus的时候报错:

error code ERESOLVE

error ERESOLVE could not resolve

While resolving: @vue/eslint-config-standard@6.1.0

Found: eslint-plugin-vue@8.7.1[2m[22m

大概应该是eslint相关的版本冲突,

解决方案:在完整的指令后面添加–legacy-peer-deps

npm install element-plus --save --legacy-peer-deps

其他类似的npm操作遇到该问题也可以参考这个处理方式来处理

举报

相关推荐

0 条评论