Cordova – Ionic cannot run in “My” Windows 7 environment

I have been trying to follow the “Getting Started with Ionic” steps, and it seems that I cannot pass Step 2 “Start the project”. When I try to create an Ionic project, I get the following error.

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, I have to go through, but I have to solve this problem in order to install cordova and Ionic components. Many threads I’ve seen point to a proxy issue, which makes sense to me, but I can’t seem to find anything that addresses the “extra” proxy configuration requirements, beyond what is set up to complete the component installation task The content of…

Ionic does not use npm proxy settings. So you have to set PROXY separately for ionic. You can do this by manually setting the PROXY environment variable or setting SET through the command prompt (only for the current session) or setting it globally using the SETX command.

set PROXY =http://YourProxy:8080/

either

setx PROXY http://YourProxy:8080/

If your proxy requires a username and password, you can set it to:

 set PROXY=http://YourUserName:YourPassword@YourProxy:8080/

I have been trying to follow the “Ionic Getting Started” steps, and it seems that I can’t go through the 2nd “Start the project” “. When I try to create an Ionic project, I receive the following error.

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 A proxy, I have to go through, but I have to solve this problem in order to install cordova and ionic components first. Many threads I have seen point to a proxy problem, which makes sense to me, but I can’t seem to find a solution Any content required by the “extra” proxy configuration is beyond the content set to complete the component installation task. .

Ionic does not use npm proxy settings. So you PROXY must be set separately for ions. You can manually set the PROXY environment variable or set SET via the command prompt (current session only) or use the SETX command globally Set it to achieve.

set PROXY=http://YourProxy:8080/

either

setx PROXY http://YourProxy:8080/

If your proxy requires a username and password, you can set it to:

< pre>set PROXY=http://YourUserName:YourPassword@YourProxy:8080/

Leave a Comment

Your email address will not be published.