While resolving: [email protected] vue3安装依赖报错

vue3安装依赖报错

npm install [email protected] -g

While resolving: [email protected]
npm ERR! Found: [email protected]
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 [email protected]
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.

最近在安装依赖包的时候 一直报这个错误 可以直接使用 就可以解决这个问题了。

While resolving: aidr-web-service-web@1.0.0 vue3安装依赖报错_第1张图片
可以正常安装 依赖包
While resolving: aidr-web-service-web@1.0.0 vue3安装依赖报错_第2张图片

你可能感兴趣的:(vue3,js,vue,git,前端)