vue3安装依赖报错
npm install npm@6.14.10 -g
While resolving: aidr-web-service-web@1.0.0
npm ERR! Found: vue@3.2.33
npm ERR! node_modules/vue
npm ERR! vue@"^3.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.x" from vue-jest@3.0.7
npm ERR! node_modules/vue-jest
npm ERR! dev vue-jest@"^3.0.7" 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\dr\AppData\Local\npm-cache\eresolve-report.txt for a full report.
最近在安装依赖包的时候 一直报这个错误 可以直接使用 就可以解决这个问题了。
可以正常安装 依赖包