Javascript 下载公司代理背后的模板

Javascript 下载公司代理背后的模板,javascript,git,npm,stenciljs,Javascript,Git,Npm,Stenciljs,我正在尝试启动我的第一个模具项目,但发现以下错误: Cannot download "https://github.com/ionic-team/stencil- component-starter/archive/master .zip" Check your internet connection Error: connect ETIMEDOUT" 我的git配置和npm配置http和https代理设置都正确地指向了我的代理url,但我仍然收到这个错误。为什么? 谢谢你的建议

我正在尝试启动我的第一个模具项目,但发现以下错误:

 Cannot download "https://github.com/ionic-team/stencil- 
 component-starter/archive/master
 .zip"
 Check your internet connection

 Error: connect ETIMEDOUT"
我的git配置和npm配置http和https代理设置都正确地指向了我的代理url,但我仍然收到这个错误。为什么?


谢谢你的建议

您可以通过代理直接卷曲相同的拉链吗

curl -x http://proxy_server:proxy_port --proxy-user username:password -L "https://github.com/ionic-team/stencil-component-starter/archive/master.zip"

我在工作中也有同样的限制

执行
curl-kvL
,这将让您了解实际被阻止的内容:

curl -kvL https://github.com/go-gitea/gitea/releases/download/v1.9.1/gitea-1.9.1-windows-4.0-amd64.exe.xz
...
CONNECT github-production-release-asset-2e65be.s3.amazonaws.com:443 HTTP/1.1
...
HTTP/1.1 403 Forbidden

在企业环境中通常被阻止的是
s3。amazonaws.com

不起作用。我只需要面对我的公司阻止Github上传/下载的事实。谢谢你,谢谢你的提示。我尽可能长时间地使用它,只是切换到使用照明。