npm install 安装失败问题总结。 1. 网络问题,部分包无法获取 2. 缓存问题, 可依次把package-lock.json 以及 node_modules 删除,并执行 npm clean cache -f 总结: 可以使用 cnpm install