npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: go-admin@1.1.4
npm ERR! Found: eslint@7.6.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"7.6.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">= 1.6.0 < 7.0.0" from @vue/cli-plugin-eslint@4.5.13
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"^4.4.6" 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 /Users/darren/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2021-09-05T12_47_01_352Z-debug.log
由于从 20 年就开始用了,一直以来版本还是 go-admin@1.1.4 请问如何升级本地版本到最新版本,因为现在本地跑不起来了,总是报依赖找不到,或者说是不是把 package 里的依赖改动也可以跑?
目前报
package
期望
首先本地可以跑起来