报错:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vue/eslint-config-standard@6.1.0
npm ERR! Found: eslint-plugin-vue@8.7.1
npm ERR! node_modules/eslint-plugin-vue
npm ERR!   peer eslint-plugin-vue@"^8.0.1" from @vue/eslint-config-typescript@9.1.0
npm ERR!   node_modules/@vue/eslint-config-typescript
npm ERR!     dev @vue/eslint-config-typescript@"^9.1.0" from the root project
npm ERR!   dev eslint-plugin-vue@"^8.0.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0
npm ERR! node_modules/@vue/eslint-config-standard
npm ERR!   dev @vue/eslint-config-standard@"^6.1.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: eslint-plugin-vue@7.20.0
t project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\danxibao\AppData\Local\npm-cache\eresolve-report.txt for a full report.npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\danxibao\AppData\Local\npm-cache\_logs\2022-05-29T07_02_09_565Z-debug-0.log

解决:

npm下载时
--legacy-peer-deps
在NPM v7中,现在默认安装peerDependencies。

在很多情况下,npm版本问题会导致下载冲突,从而中断安装过程。

–legacy-peer-deps标志是在v7中引入的,目的是绕过peerDependency自动安装;它告诉 NPM 忽略项目中引入的各个modules之间的相同modules但不同版本的问题并继续安装,保证各个引入的依赖之间对自身所使用的不同版本modules共存。

npm下载报错npm ERR code ERESOLVE相关推荐

  1. npm install 报错:ERR! code EINTEGRITY 解决方案

    npm install 报错:ERR! code EINTEGRITY 解决方案 参考文章: (1)npm install 报错:ERR! code EINTEGRITY 解决方案 (2)https: ...

  2. npm下载报错npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network re

    一.npm下载报错信息如下 二.试了网上搜的很多方法如下(我的不行不代表你的不行,大家也可以试一下下面的方法) 1.设置代理关闭 npm config set proxy false 2.清除缓存 n ...

  3. npm install报错 npm ERR,code ERESOLVE npm ERR,ERESOLVE unable to resolve dependency tree

    文章目录 前言 问题分析 解决方法 转载于 前言 在下载npm时报错npm ERR! code ERESOLVE npm ERR! ERESOLEVE unable to resolve depend ...

  4. Vue项目 npm i 报错npm ERR! code 1

    Vue项目 npm i 报错npm ERR! code 1 记录一下 npm i 的时候报错,报错信息如下 记录一下 npm i 的时候报错,报错信息如下 npm ERR! code 1 npm ER ...

  5. Vue项目 npm i 报错npm ERR code 1

    Vue项目 npm i 报错npm ERR! code 1 记录一下 npm i 的时候报错,报错信息如下 记录一下 npm i 的时候报错,报错信息如下 npm ERR! code 1 npm ER ...

  6. npm i报错npm ERR! network request to https://registry.npmjs.org/vue-router failed, reason: read ECONNR

    npm i报错npm ERR! network request to https://registry.npmjs.org/vue-router failed, reason: read ECONNR ...

  7. npm install 报错 npm WARN tar ENOENT: no such file or directory, open... 解决方式

    报错信息 npm install 报错 npm WARN tar ENOENT: no such file or directory, open- 解决方式 使用cnpm install

  8. clone别人远程仓库的代码,运行npm install报错npm ERR! Maximum call stack size exceeded

    运行npm install报错,我是实习生,实习第四天就各种出错,多人合作的时候连clone下来的仓库,运行npm install时都出错:npm ERR! Maximum call stack si ...

  9. npm i报错 npm ERR! path git npm ERR! code ENOENT npm,后续npm i继续报错gyp ERR! node -v v12.13.1

    1,新搭建的环境,node版本,npm版本,Vue-cli版本,webpack版本都应该是最新的,具体版本号如下: 2,之后npm i就报错如下: npm ERR! path git npm ERR! ...

  10. npm install 报错 npm ERR! code Z_BUF_ERROR 问题解决

    问题描述: 使用npm install命令安装依赖时,出现错误,报错信息如下: npm ERR! code Z_BUF_ERROR npm ERR! errno -5 npm ERR! zlib: u ...

最新文章

  1. Google重磅发布开源库TFQ,快速建立量子机器学习模型
  2. 如何开发自己的第1个可以上线的Java项目?
  3. 利用联合双边滤波或引导滤波进行升采样(Upsampling)技术提高一些耗时算法的速度。...
  4. mybatis萌新基础
  5. python numpy中对ndarry按照index(位置下标)增删改查
  6. [Java]知乎下巴第3集:来人啊快把知乎的答案装到篮子里去
  7. OpenCV——颜色均匀渐变
  8. SSM编写http接口返回JSON格式数据
  9. 坯子库怎么导入插件_【亲测能用】草图大师Sketchup坯子库插件管理器SU2014-2019插件64位下载-羽兔网...
  10. 袁亚湘院士谈如何做好研究生:如果不思考,人再聪明也无济于事
  11. 干货收藏!如何绘制产品流程图
  12. c语言 统计数量用count_C语言中count是什么意思?
  13. hdu 6438 - 贪心
  14. iOS 通过商品短链接跳转京东商品详情页
  15. Spring之IOC~控制反转
  16. Blender学习笔记-印花(decal)贴图
  17. 超赞,52个数据可视化图表鉴赏!
  18. 51单片机和Arduino有什么区别?
  19. Shell grep命令
  20. 5G丨柬埔寨移动运营商Smart Axiata与华为合作进行5G测试

热门文章

  1. 斗鱼+android下载地址,斗鱼下载2021安卓最新版_手机app官方版免费安装下载_豌豆荚...
  2. MySQL工具【mysql 客户端连接工具】
  3. 深度装机大师一键重装_手把手教你深度装机大师u盘装系统教程
  4. qs.stringify()详情
  5. Axure RP 9安装与使用
  6. loic 工具使用指导
  7. MySQL修改、删除存储过程和函数
  8. VS2015的下载地址和安装教程
  9. 【拓展】一个故事讲完CPU的工作原理
  10. php 编译指定libiconv,PHP升级编译出错 libiconv_open及 apache libiconv