问题描述:npm版本过高
npm ERR! Could not resolve dependency:
npm ERR! peer vue@“^2.5.17” from element-ui@2.15.9
npm ERR! node_modules/element-ui
npm ERR! element-ui@“*” 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 Z:\nodejs\node_cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! Z:\nodejs\node_cache_logs\2022-08-26T06_37_24_574Z-debug-0.log
解决:
npm install npm@6.14.10 -g