node.js : request to https://registry.npmjs.org/vue failed, reason: connect ETIMEDOUT
https://v2.vuejs.org/v2/guide/installation.html
https://v3.router.vuejs.org/installation.html
https://v3.cli.vuejs.org/
https://v3.vuex.vuejs.org/installation.html
npm install vuex --save
npm install -g @vue/cli
npm install vue-router
npm install vue
npm install vue -g
npm install vue-router -g
npm install vue-cli -g
C:\Users\geovindu\.npmrc
npm i core-js@3.6.5 --save
request to https://registry.npmjs.org/vue failed, reason: connect ETIMEDOUT 104.16.19.35:443
解决办法是重新安装,从根部解决
1、执行:
npm config get proxy
npm config get https-proxy
如果返回值不为null,继续执行:
注意:要确保两个返回值都是null才可以,否则就要执行下面的代码
npm config set proxy null
npm config set https-proxy null
2、执行:
npm config set registry http://registry.cnpmjs.org/
3、重新安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
指定淘宝镜像
npm config set registry http://registry.npm.taobao.org/
npm install -g cordova ionic
npm install d3 --save-dev
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
2016-12-08 初学Python