小工具知识网

当前位置: 首页 > 行业知识 > npm install提示request to https://registry.npmjs.org/vue-cli failed, reason: connect ETIMEDOUT 104.16.

行业知识

npm install提示request to https://registry.npmjs.org/vue-cli failed, reason: connect ETIMEDOUT 104.16.

2026-11-01 04:47:31 来源:互联网转载

���收新项目拉取代码后安装依赖时npm install提示request to https://registry.npmjs.org/vue-cli failed, reason: connect ETIMEDOUT 104.16.19.35:443

()

提示具体信息如下:

npm ERR! code ETIMEDOUTnpm ERR! syscall connectnpm ERR! errno ETIMEDOUTnpm ERR! network request to https://registry.npmjs.org/vue-cli failed, reason: connect ETIMEDOUT 104.16.19.35:443npm ERR! network This is a problem related to network connectivity.npm ERR! network In most cases you are behind a proxy or have bad network settings.npm ERR! networknpm ERR! network If you are behind a proxy, please make sure that thenpm ERR! network 'proxy' config is set properly.  See: 'npm help config'

我有搜索别人的解决方案,说可能是npm版本问题,未解决。

()

最终身边的老手说可能是淘宝镜像的问题,于是,重新安装淘宝镜像

npm config set registry https://registry.npm.taobao.org

重新npm install安装依赖,成功啦

上一篇:LaTeX编辑器详解,高效工具助你轻松排版文档,轻松上手!

下一篇:揭秘伍六七皮肤获取秘籍,消灭国王攻略大揭秘!