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

posted @   闫佳杰  阅读(2557)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
点击右上角即可分享
微信分享提示