I have been trying to follow the "Getting Started with Ionic" steps and can't seem to get past step 2 "Start a Project". I am getting the following error, when I try to create the Ionic project.
C:\Users\peterstb>ionic start myApp tabs
Creating Ionic app in folder C:\Users\peterstb\myApp based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error fetching: https://github.com/driftyco/ionic-app-base/archive/master.zip { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'conn
ect' }
Error: Unable to initalize app: { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
I do have a proxy that I have to go through, but I had to resolve that to get the cordova and ionic components installed in the first place. Many of the threads I have seen have pointed to a proxy issue, which makes sense to me, but I can't seem to find anything that addresses "additional" proxy configuration requirements, above and beyond what has been set to accomplish component install tasks.
Ionic doesn't use npm proxy settings. So you have to set PROXY separately for ionic. You can do it by setting an PROXY environment variable in windows manually or via command prompt by SET (for current session only) or using SETX command to set it globally.
set PROXY=http://YourProxy:8080/
or
setx PROXY http://YourProxy:8080/
if your proxy requires user name and password you can set it as:
set PROXY=http://YourUserName:YourPassword@YourProxy:8080/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With