How to get Ionic working behind a proxy? (Error: getaddrinfo ENOTFOUND github.com github.com:443)

How to get Ionic working behind a proxy? (Error: getaddrinfo ENOTFOUND github.com github.com:443)

我未能使用 Ionic CLI 创建 Ionic 项目。每次我输入
Ionic start project-name 给我这个错误:

Fetching app base (https://github.com/driftyco/ionic2-app-base/archive/master.tar.gz)
✖ Downloading - failed!
Error: getaddrinfo ENOTFOUND github.com github.com:443

请注意,我在 proxy 后面工作。 npmgit 代理已正确设置(至少我认为是这样),我可以毫无问题地创建 angular-cli 项目。

请帮助我为 Ionic 设置正确配置代理。我在 Windows 7 x64

github 中也提出了同样的问题。您可以在那里确认问题 Ionic 3 CLI unable to start project behind proxy