React报错:This is probably not a problem with npm. There is likely additional logging output above.
解决方案
删除node_modules和package-lock.json,之后运行npm cache clear --force,重新安装模块npm install,另外要注意
npm 5.0版本之后,执行 npm install 的时候 就会自动生成package-lock.json文件
注意:cnpm install 的时候不会自动生成package-lock.json文件
学以致用,知行合一

浙公网安备 33010602011771号