首页 > 其他分享 >FetchError: request to https://registry.npmjs.org/swiper failed, reason: connect ECONNREFUSED 127.0.

FetchError: request to https://registry.npmjs.org/swiper failed, reason: connect ECONNREFUSED 127.0.

时间:2023-01-03 16:59:14浏览次数:43  
标签:FetchError ECONNREFUSED 127.0 npm registry https org swiper

安装swiper插件时,报错,经过下边方法解决后,重新安装swiper,成功!

 

FetchError: request to https://registry.npmjs.org/swiper failed, reason: connect ECONNREFUSED 127.0.0.1:9000

问题描述:

 

 解决方法:

1、取消npm代理设置,执行命令

npm config set proxy null

npm config set https-proxy null

2、添加淘宝镜像

npm --registry https://registry.npm.taobao.org info underscore

标签:FetchError,ECONNREFUSED,127.0,npm,registry,https,org,swiper
From: https://www.cnblogs.com/stary-pointer/p/17022689.html

相关文章