其他分享
首页 > 其他分享> > 解决stack FetchError: request to https://registry.npm.taobao.org/@vue%2fcli-plugin-vuex failed, reason

解决stack FetchError: request to https://registry.npm.taobao.org/@vue%2fcli-plugin-vuex failed, reason

作者:互联网

场景复现

image

解决办法

1.取消npm代理设置,执行命令
npm config set proxy null
npm config set https-proxy null
2.添加淘宝镜像
npm --registry https://registry.npm.taobao.org info underscore
3.在.npmrc文件中添加代理:registry = https://registry.npm.taobao.org/

image

原链接

标签:FetchError,npm,set,ECONNREFUSED,taobao,registry,https,org
来源: https://www.cnblogs.com/wyzniu/p/15673484.html