Cannot download ionic-app-base with proxy under windows when start new app


#1

Hi all,

I am new and try to create a app using ionic start --v2 blank, but when downloading ionic-app-base it failed with timeout error, like below:

Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Error with start Error: connect ETIMEDOUT 192.30.253.113:443
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
Error Initializing app: Error: connect ETIMEDOUT 192.30.253.113:443
Error: connect ETIMEDOUT 192.30.253.113:443
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)

npm and git are using the same proxy, and can update/install and clone/push, but it always fail even I set PROXY variable in system by command like below:
set PROXY=ip:port

Can anyone help or is it really a issue?

version as below:

$ ionic -v
2.2.1

Really need your help~~


#2

This is more or less a general npm question.

https://jjasonclark.com/how-to-setup-node-behind-web-proxy/



#3

Thank you mhartington, my npm and git works fine with proxy, only ionic cannot work, any clues about it?


#4

Retried several times and finally succeed with export proxy out under mac.

Thank you~