当前位置: 首页 > news >正文

Conflicting peer dependency: eslint@8.50.0

npm install
输出

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!   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
npm ERR! node_modules/eslint-plugin-vue
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! 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 config set legacy-peer-deps=true --location=project

https://github.com/npm/cli/issues/4664#issuecomment-1086096726

http://www.lryc.cn/news/181931.html

相关文章:

  • Vue3 defineProps使用
  • 机器学习7:逻辑回归
  • 生活小记-纸张尺寸
  • 【MATLAB源码-第41期】基于压缩感知算法的OFDM系统信道估计和LS算法对比仿真。
  • 优思学院|六西格玛将烹饪和美味提升至极致
  • git stash
  • Flink Data Source
  • 怒刷LeetCode的第23天(Java版)
  • Golang 中的调试技巧
  • linux 监控内存利用率
  • 43 验证二叉搜索树
  • 深度学习笔记之微积分及绘图
  • java Spring Boot按日期 限制大小分文件记录日志
  • CSS 语法
  • Vue3+TS+ECharts5实现中国地图数据信息显示
  • PowerShell 内网不能直接安装SqlServer模块的处理办法
  • Git使用【下】
  • 自然语言处理的分类
  • Flutter笔记:手写并发布一个人机滑动验证码插件
  • RabbitMQ安装与简单使用
  • 不做静态化,当部署到服务器上的项目刷新出现404【已解决】
  • SpringBoot结合Redisson实现分布式锁
  • css字体属性
  • 云原生微服务治理 第四章 Spring Cloud Netflix 服务注册/发现组件Eureka
  • 【白细胞介素6(IL-6)】
  • 设计模式之抽象工厂模式--创建一系列相关对象的艺术(简单工厂、工厂方法、到抽象工厂的进化过程,类图NS图)
  • 大数据-玩转数据-Flink SQL编程实战 (热门商品TOP N)
  • python中实现定时任务的几种方案
  • AcWing算法提高课-5.6.1同余方程
  • Docker Tutorial