javascript - 在安装 npm 包时出现 ETIMEDOUT 错误?
问题描述
这是我在安装 npm 包时遇到的错误,我已经从 Windows 中卸载了节点并再次安装,但仍然出现此错误:
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/axios failed, reason: connect ETIMEDOUT 104.16.16.35:443
npm 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! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ch Wasiq\AppData\Roaming\npm-cache\_logs\2020-08-31T07_38_36_764Z-debug.log
解决方案
推荐阅读
- r - 如何绘制和覆盖多个栅格的密度图?
- c# - Autofac 解析匹配LifetimeScope 集合
- python - 如何从用户那里获取类的名称,然后创建具有相同名称的类
- javascript - 更改字体大小时在文本区域内居中文本
- c++ - 使用 minGW 和 VSCode 运行简单的 C++ 程序时找不到 libstdc++-6.dll
- python - 如何按值字符串打印嵌套字典中的键值对
- javascript - ML5,情绪分析:未捕获(承诺中)类型错误:无法读取未定义的属性“the”
- vba - 俄语单词的计数频率
- javascript - 需要帮助以减少代码(我不是专家)
- c - 错误:多重定义和第一次在这里定义