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


版权声明:本文为qq_42913476原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/qq_42913476/article/details/127984854