npm install 报错 查看当前npm 版本 npm -v 7.x以上版本的npm 要正常在vscode上使用的指令: npm i --legacy-peer-deps 现在就可以运行 npm install 了