code ERESOLVE npm ERR!ERESOLVE unable to resolve dependency tree npm ERR!npm ERR!While resolving:vue_test@0.1.0npm ERR!Found:vue@2.6.14npm ERR!node_modules/vue npm ERR!vue@"^2.6.11"from the root project npm ERR!npm ERR!Could not resolve dependency:npm ERR!peer vue@"^3.0.0"from vue...
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: vue_cli_app@0.1.0 npm ERR! Found: less@4.1.2 npm ERR! node_modules/less npm ERR! less@"^4.1.2" from the root project npm ERR! npm ERR! Could not resolve dependency: ...
code ERESOLVE npm ERR!ERESOLVE unabletoresolve dependency tree npm ERR!npm ERR!Found: vue@2.7.14npm ERR!node_modules/vue npm ERR!vue@"^2.6.14"fromthe root project npm ERR!npm ERR!Couldnotresolve dependency: npm ERR!peer vue@"^3.2.0"fromvue-router@4.1.6npm ERR!node_modules/vue-router...
npmERR!Fix the upstream dependency conflict,or retry npmERR!thiscommandwith--force,or--legacy-peer-deps npmERR!to accept anincorrect(and potentially broken)dependency resolution.npmERR!npmERR!SeeC:\Users\zeyi\AppData\Local\npm-cache\eresolve-report.txtfora full report.npmERR!Acomplete logofthis...
3.解决方法(2):在命名后添加--legacy-peer-deps即可绕过peerDependency自动安装,保证各个引入的依赖之间对自身所使用的不同版本modules共存。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 npm i vue-router@3.5.2-legacy-peer-deps 4.成功安装版本 ...
npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: vue_test@0.1.0 npm ERR! Found: vue@2.6.14 npm ERR! node_modules/vue npm ERR! vue@"^2.6.11" from the root project npm ERR! npm ERR! Could not resolve dependency: ...