Vue安装镜像报错 request to https://registry.npm.taobao.org/cnpm failed, reason: connect ETIMEDOUT
安装淘宝镜像报错 request to https://registry.npm.taobao.org/cnpm failed, reason: connect ETIMEDOUT
除了淘宝镜像,类似于webpack等都没办法安装,对于这种骚操作,是因为所使用的电脑的浏览器使用了代理,你的公司使用了代理网络。那如何解决呢?
-
npm config set proxy http://172.254.1.11:8088 npm config set
-
https-proxy http://172.254.1.11:8088
设置npm 的代理网络为浏览器的代理网络就可以了 解决 亲