我们正在尝试让 npm 在 Windows Server 2019 上运行。
服务器配置如下:
当前防火墙设置:
这是我们迄今为止尝试过的:
npm config set registry "http://registry.npmjs.org/"
ping proxy
npm config set proxy https-proxy http://proxy.johndoe.corp:8080
npm config set https-proxy http://proxy.johndoe.corp:8080
npm config set strict-ssl false
set HTTPS_PROXY=http://proxy.johndoe.corp:8080
set HTTP_PROXY=http://proxy.johndoe.corp:8080
npm --proxy http://proxy.johndoe.corp:8080 --without-ssl --insecure -g install
npm install --global [email protected]
我们总是收到 ETIMEDOUT 错误,并且我无法在互联网上找到正确的解决方案。
如有任何帮助,我们将不胜感激!
代理存在一些错误。 我也遇到这个错误