npm install 报错 npm ERR! While resolving: ant-design-pro

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: ant-design-pro@6.0.0

npm ERR! Found: react@18.3.1

npm ERR! node_modules/react

npm ERR! react@"^18.2.0" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer react@"^16.8.6 || ^17.0.2" from @antv/l7-react@2.4.3

npm ERR! node_modules/@antv/l7-react

npm ERR! @antv/l7-react@"^2.4.3" 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 ERR!

npm ERR!

npm ERR! For a full report see:

使用 命令

npm install --legacy-peer-deps

相关推荐
LiuJun2Son1 分钟前
Angular 快速入门:从零搭建你的第一个应用
前端·javascript·angular.js
小徐_23339 分钟前
Wot UI 2.1.0 发布:ConfigProvider 全局配置能力升级
前端·uni-app
方白羽10 分钟前
Vibe Coding 四个核心阶段
android·前端·app
奶油话梅糖11 分钟前
浏览器解析 HTML 头部的底层逻辑:从字节流到资源调度
前端·html
YHL11 分钟前
🚀从零理解树与二叉树 —— 概念、实现与遍历
前端·javascript·数据结构
小时前端12 分钟前
微前端技术选型深度分析:从概念到实践
前端
ZengLiangYi15 分钟前
测试策略:单元测试 + 集成测试怎么写
javascript·typescript·node.js
wyhwust27 分钟前
基于Apifox的接口管理工具
前端
柒和远方37 分钟前
后端认证、鉴权、高并发:从 Session 到 JWT 再到 Redis
前端·后端·面试
piglet1213837 分钟前
把搜索调到 Claude.ai 的水准
前端·人工智能