如何启用 Secure Gateway 客户端以使用我的代理设置。客户端使用与安装捆绑在一起的 npm。我无法将代理配置作为 npm 配置传递。我尝试将 http_proxy 设置为系统参数,但似乎没有使用。安装后我在 npm_debug 文件中看到以下内容。
323 error network connect ETIMEDOUT 151.101.8.162:443
324 error network This is most likely not a problem with npm itself
324 error network and is related to network connectivity.
324 error network In most cases you are behind a proxy or have bad network settings.
324 error network
324 error network If you are behind a proxy, please make sure that the
324 error network 'proxy' config is set properly. See: 'npm help config'
325 verbose exit [ 1, true ]