npm ERR! While resolving: ruoyi@3.8.5npm ERR! Found: webpack@5.89.0

ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: ruoyi@3.8.5

npm ERR! Found: webpack@5.89.0

npm ERR! node_modules/webpack

npm ERR! webpack@"^5.89.0" from the root project

npm ERR! peer webpack@"^4.0.0 || ^5.0.0" from html-webpack-plugin@4.5.2

npm ERR! node_modules/html-webpack-plugin

npm ERR! peer html-webpack-plugin@"^3.0.0 || ^4.0.0" from script-ext-html-webpack-plugin@2.1.5

npm ERR! node_modules/script-ext-html-webpack-plugin

npm ERR! dev script-ext-html-webpack-plugin@"2.1.5" from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer webpack@"^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0" from script-ext-html-webpack-plugin@2.1.5

npm ERR! node_modules/script-ext-html-webpack-plugin

npm ERR! dev script-ext-html-webpack-plugin@"2.1.5" from the root project

...

执行:npm install --legacy-peer-deps 后问题解决。

相关推荐
kyriewen8 小时前
我手写了一个 EventEmitter,面试官追问了 6 个问题——第 4 个我没答上来
前端·javascript·面试
IT_陈寒8 小时前
Java的Date类又坑了我一次,改用时间戳真香
前端·人工智能·后端
小林攻城狮9 小时前
使用 Transport 节流解决 Vercel AI SDK 流式渲染卡死问题
前端·react.js
前端缘梦9 小时前
告别 TS 运行时类型漏洞!Zod 完整入门实战教程(前端 / 全栈必备)
前端·react.js·全栈
the_answer9 小时前
Webpack vs Vite 深度对比分析
前端·webpack
转转技术团队9 小时前
验证码识别实战:前端不写页面,改训模型了?
前端
MomentYY9 小时前
Temperature:AI 的“脑洞旋钮”
前端·llm·ai编程
远航_10 小时前
OpenSpec 完整详细介绍
前端·后端
召钱熏10 小时前
状态枚举正确≠渲染正确:一个语音按钮的状态机边界修复实录
android·前端
SkyWalking中文站10 小时前
认识 Horizon UI · 1/17:SkyWalking 新一代可观测性控制台
运维·前端·监控