Ionic 3 CLI unable to start project behind proxy

Viewed 3115

I'm new to Ionic. I'm facing proxy issues while getting started with Ionic 3.

After installing Ionic & cordova via npm tried to create a new project with the below command as suggested by ionic help enter image description here

npm install -g @ionic/cli-plugin-proxy

followed by

ionic start helloWorld blank --type ionic-angular

Error: getaddrinfo ENOTFOUND github.com github.com:443enter image description here

npm config and git config are already set and working since i work with angular behind proxy able to install any libraries and push to github without any issues

Having environment variables HTTP_PROX,PROXY and IONIC_HTTP_PROXY as well.

Tried uninstalling ionic and reinstall, set proxies again but nothing helps. Couldn't find any help.Do i need to set any other proxy to work with ionic 3 ? Kindly guide me in resolving this.

versions

  • Node : 7.8.0
  • npm : 4.0.3
  • ionic : 3.1.2
  • cordova : 7.0.1
2 Answers
Related