今天从git上拷贝下一个项目,然后npm install的时候,竟然出现了问题 解决方法: 使用npx去指定npm版本 npx -p npm@6 npm i --legacy-peer-deps 随后代码就丝滑的出来了