FetchError: request to https://registry.npmjs.org/swiper failed, reason: connect ECONNREFUSED 127.0.0.1:9000
安装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
宜将剩勇追穷寇,不可沽名学霸王。

浙公网安备 33010602011771号