ERESOLVE overriding peer dependency npm install错误

错误提示 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 i --legacy-peer-deps
–legacy-peer-deps命令用于绕过peerDependency里依赖的自动安装;它告诉npm忽略项目中引入的各个依赖模块之间依赖相同但版本不同的问题,以npm v3-v6的方式去继续执行安装操作。该命令不是真的解决冲突,而是忽略了冲突

相关推荐

  1. nvm 错误

    2024-04-22 20:46:02       29 阅读
  2. docker错误

    2024-04-22 20:46:02       27 阅读
  3. 错误处理(9)

    2024-04-22 20:46:02       46 阅读
  4. Delphi 编码错误问题

    2024-04-22 20:46:02       56 阅读
  5. PHP常见错误

    2024-04-22 20:46:02       50 阅读
  6. redis sentinel 错误处理

    2024-04-22 20:46:02       57 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-22 20:46:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-22 20:46:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-04-22 20:46:02       82 阅读
  4. Python语言-面向对象

    2024-04-22 20:46:02       91 阅读

热门阅读

  1. ChatGPT改写:论文写作新时代

    2024-04-22 20:46:02       40 阅读
  2. LeetCode49字母异位词分组

    2024-04-22 20:46:02       32 阅读
  3. 【JVM】JVM的垃圾回收机制与垃圾回收器的选择

    2024-04-22 20:46:02       34 阅读
  4. 从安装系统到部署datax

    2024-04-22 20:46:02       40 阅读
  5. CS32 C++ programming

    2024-04-22 20:46:02       32 阅读
  6. LeetCode-94-二叉树的中序遍历

    2024-04-22 20:46:02       27 阅读
  7. springboot接口提高查询速度方法

    2024-04-22 20:46:02       39 阅读
  8. 分治法构建Gray码问题

    2024-04-22 20:46:02       34 阅读
  9. 深入理解与运用Vue 2中的插槽(Slots)

    2024-04-22 20:46:02       35 阅读
  10. 测试testing1

    2024-04-22 20:46:02       29 阅读
  11. Mysql多表联查使用聚合函数常见问题

    2024-04-22 20:46:02       30 阅读