npm ERR! code ERESOLVE
npm ERR!
npm ERR! While resolving: ruoyi@3.8.3
npm ERR! Found: webpack@5.75.0
npm ERR! node_modules/webpack
npm ERR! peer webpack@“^4.0.0 || ^5.0.0” from compression-webpack-plugin@5.0.2
npm ERR! node_modules/compression-webpack-plugin
npm ERR! dev compression-webpack-plugin@“5.0.2” from the root project
npm ERR! peer webpack@“^5.0.0” from less-loader@11.1.0
npm ERR! node_modules/less-loader
npm ERR! less-loader@“^11.0.0” from the root project
npm ERR! 1 more (sass-loader)
…
执行:npm install --legacy-peer-deps 后问题解决。
参考:https://toscode.gitee.com/vincentyun/jsnote/issues/I3U336