npx -p npm@6 npm i --legacy-peer-deps

问题

D:\WorkSpace\vue\gugu-plus\vue-admin-better>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: vue-admin-beautiful@1.0.0
npm ERR! Found: echarts@5.0.2
npm ERR! node_modules/echarts
npm ERR!   echarts@"5.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer echarts@"^4.1.0" from vue-echarts@5.0.0-beta.0
npm ERR! node_modules/vue-echarts
npm ERR!   vue-echarts@"5.0.0-beta.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\十一\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\十一\AppData\Local\npm-cache\_logs\2022-02-14T04_18_29_238Z-debug.log

 

最后修改于 2022-02-14 12:25:46
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付
上一篇