FetchError: request to http://10.6.110.103:34873/jspdf failed, reason: connect ECONNREFUSED 10.6.110.103:34873
今天在vs code里安装NPM 报这样的错误
FetchError: request to http://10.6.110.103:34873/jspdf failed, reason: connect ECONNREFUSED 10.6.110.103:34873
解决办法
1.取消npm代理设置,执行命令
npm config set proxy nullnpm config set https-proxy null
2.添加淘宝镜像
npm --registry https://registry.npm.taobao.org info underscore
3.在.npmrc文件中添加代理:registry = https://registry.npm.taobao.org/
.npmrc路径如下:
每天学习一点点,你就进步一点点。