sec-admin-web icon indicating copy to clipboard operation
sec-admin-web copied to clipboard

npm install一直vue出错

Open like4h opened this issue 2 years ago • 0 comments

  1. 报错代码如下

$ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/vue npm ERR! vue@"^2.5.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue@"^3.2.0" from [email protected] npm ERR! node_modules/vuex npm ERR! vuex@"latest" 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:

2.问:

师傅使用的是nodejs的的什么版本对应的npm又是什么版本谢谢! image

like4h avatar Mar 05 '23 11:03 like4h