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 后问题解决。

相关推荐
2601_958492553 小时前
Optimizing Engagement with Freehead Skate - HTML5 Game - Construct 3
前端·html·html5
茉莉玫瑰花茶4 小时前
工作流的常见模式 [ 1 ]
java·服务器·前端
zhangxingchao5 小时前
AI应用开发六:企业知识库
前端·人工智能·后端
山峰哥5 小时前
SQL慢查询调优实战:从全表扫描到索引覆盖的完整复盘
前端·数据库·sql·性能优化
红尘散仙5 小时前
一个 `#[uniffi::export]`,把 Rust 接进 React Native
前端·后端·rust
moshuying5 小时前
AI Coding 最大的 token 黑洞,可能根本不是 prompt
前端
红尘散仙5 小时前
一行 `#[specta::specta]`,让 Tauri IPC 有类型
前端·后端·rust
lichenyang4536 小时前
HarmonyOS HMRouter 接入记录:从普通 Tab Demo 到路由跳转
前端
木斯佳6 小时前
前端八股文面经大全:腾讯WXG暑期前端一面(2026-05-15)·面经深度解析
前端·面试·笔试