【发布时间】:2021-08-26 10:25:38
【问题描述】:
当我运行命令 npm install 时,它显示此错误:
[log@server:www]$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vue@2.6.14
npm ERR! node_modules/vue
npm ERR! dev vue@"^2.5.17" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.0.0" from vee-validate@4.4.4
npm ERR! node_modules/vee-validate
npm ERR! vee-validate@"^4.2.3" 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 /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-09T01_39_40_386Z-debug.log
我想知道,我该如何解决?什么意思?
谢谢
【问题讨论】:
标签: node.js laravel vue.js npm