npm i 下载一直转圈且报网络代理错误?
解决:
npm config get proxy
npm config get https-proxy
查看是否有代理,如果有,你有没有科学上网的网址。请你把他们设置成 null,不然会一直报代理错误,同时请不要翻墙
npm config set proxy null
npm config set https-proxy null
如果有,则看网址对不对,不对的话重新设置
npm config set proxy http://your-proxy-server:port
npm config set https-proxy http://your-proxy-server:port