解决npm install失败问题,error network request to http://registry.npm.taobao.org/echarts-liquidfill failed
错误日志:error network request to http://registry.npm.taobao.org/echarts-liquidfill failed, reason: connect ETIMEDOUT 124.95.157.161:80error network This is a problem related to network connectivity.error
·
错误日志:
error network request to http://registry.npm.taobao.org/echarts-liquidfill failed, reason: connect ETIMEDOUT 124.95.157.161:80
error network This is a problem related to network connectivity.
error network In most cases you are behind a proxy or have bad network settings.
error network
error network If you are behind a proxy, please make sure that the
error network 'proxy' config is set properly. See: 'npm help config'
部分截图


解决办法:
在npm中配置你正在使用的代理。
1、npm configsetproxy http://<proxy-url>:<port>
2、npm configsethttps-proxy http://<proxy-url>:<port>例如: npm config set proxy http://127.0.0.1:8080
重新设置则执行下面语句即可清除npm中的代理和缓存。
npm configsetproxyfalse
更多推荐


所有评论(0)