Memento 备忘录模式

阅读 16

2024-11-06

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)

0 0 举报