F:\vue-devtools>npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: vue-devtools@6.5.0 npm ERR! Found: eslint@7.32.0 npm ERR! node_modules/eslint npm ERR! dev eslint@"^7.26.0" from the root project npm ERR! peer eslint@"^7.12.1" from @vue/eslint-config-standard@6.1.0 npm ERR! node_modules/@vue/eslint-config-standard npm ERR! dev @vue/eslint-config-standard@"^6.0.0" from the root project npm ERR! 3 more (eslint-plugin-import, eslint-plugin-node, eslint-plugin-promise) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from eslint-plugin-vue@6.2.2 npm ERR! node_modules/eslint-plugin-vue npm ERR! dev eslint-plugin-vue@"^6.0.0" 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! npm ERR! For a full report see: npm ERR! D:\nodejs\node_cache\_logs\2023-02-15T11_08_40_744Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: npm ERR! D:\nodejs\node_cache\_logs\2023-02-15T11_08_40_744Z-debug-0.log
解决方法:
使用cnpm进行安装