解决办法
1)进入cmd命令行
2)执行:
npm config get proxy
npm config get https-proxy
注:如果返回值不是null,继续执行(3): (要确保两个返回值都是null才可以,否则就要执 行下面的代码)
3)执行
npm config set proxy null
npm config set https-proxy null
---其他可能情况---
其他情况:网络不行,网络质量差或者公司的网有网络权限
解决方法:让别人把已经下好的node_moudles打包发给你,直接覆盖到相应的项目文件位置中。