当我尝试使用 npm 安装 Angular-cli 时,代码 ETIMEDOUT 出现错误
我尝试删除代理(代理和 HTTP 代理),尝试在管理员模式下运行 cmd,将路径更改为 nodejs 目标
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/@angular%2fcli failed, reason: connect ETIMEDOUT 104.16.22.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' …Run Code Online (Sandbox Code Playgroud)