npm error code ETIMEDOUT
1、执行npm install axios --save 报错
1 2 3 4 5 6 7 8 9 10 | D:\code\react\custom-frontend>npm install axios --save npm error code ETIMEDOUT npm error errno ETIMEDOUT npm error network request to https: //registry.npmjs.org/axios failed, reason: npm error network This is a problem related to network connectivity. npm error network In most cases you are behind a proxy or have bad network settings. npm error network npm error network If you are behind a proxy, please make sure that the npm error network 'proxy' config is set properly. See: 'npm help config' npm error A complete log of this run can be found in: D:\sofeware\nodeJS\node_cache\_logs\ 2024 - 10 -12T02_08_43_165Z-debug- 0 .log |
解决办法,切换到淘宝镜像
1 | npm config set registry https: //registry.npmmirror.com |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 解答了困扰我五年的技术问题。时代确实变了!
· PPT革命!DeepSeek+Kimi=N小时工作5分钟完成?
· What?废柴, 还在本地部署DeepSeek吗?Are you kidding?
· DeepSeek企业级部署实战指南:从服务器选型到Dify私有化落地
· 程序员转型AI:行业分析
2022-10-12 oracle修改字段类型报错ORA-01439: column to be modified must be empty to change datatype
2022-10-12 ORA-01440: 要减小精度或标度, 则要修改的列必须为空问题修复
2022-10-12 oracle中字段类型对应Double型的类型可以用NUMBER类型字段
2021-10-12 maven打包后,如何获取resouce路径下的文件
2021-10-12 eclipse启动TC,出现闪退的问题