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 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/
.npmrc路径如下:

 

 

posted @   张亮java  阅读(112)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 什么是nginx的强缓存和协商缓存
· 一文读懂知识蒸馏
· Manus爆火,是硬核还是营销?
点击右上角即可分享
微信分享提示