解决npm install报错 a complate log of this run can be found in xxxx (‘name’) 主要原因 npm版本过高,与项目版本不匹配 npm install npm@6.14.10 -g 然后清除之前安装的node_modules和npm缓存 npm cache clean --force 最后重新执行 npm install