欢迎加入QQ群一起探讨交流:581902292

npm 安装是一直卡在idealTree:npm:sill idealTree buildDeps无反应

最近npm install下载依赖出现一直卡在idealTree:npm:sill idealTree buildDeps,最后出现request to https://registry.npmjs.org/simple-zustand-devtools failed, reason: connect ETIMEDOUT 104.16.3.35:443 连接超时?

于是 ping registry.npmjs.org 下这个网站是能够正常连接的,但是就是无法正常npm install,最后按下面才步骤才解决?

  1.设置镜像源

    npm config set registry https://registry.npmmirror.com

  2.查看npm当前镜像源是否是https://registry.npmmirror.com

    npm config get registry

  3.接下来运行npm安装依赖即可

  

  参考 https://developer.aliyun.com/mirror/NPM

posted @ 2023-12-14 10:05  £AP︶ㄣOL◢◤LO  阅读(5129)  评论(0编辑  收藏  举报