解决方法:把ruoyi-ui下面的package.json里对应的这两项,改成如下图所示的版本,再次执行npm install && npm run dev就可以了
参考资料:
https://blog.csdn.net/qq_40095911/article/details/119253908