Configure Ionic proxy

0

When executing

ionic start Aplication_mobile blank 

Error when downloading the template

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

I have configured npm with the proxy and it does not work. I have also created a system variable:

PROXY=http://proxy:8081 

and it still does not work.

Version of ionic: 3.1.2

    
asked by Jose Yeste 23.05.2017 в 15:22
source

1 answer

1

I have found the solution.

The problem is that if you configure the proxy in npm ionic it does not inherit it, you have to change it in the configuration file. It is located at C: \ Users \ user \ .ionic \ config.json And we add the proxy

"proxies": [
 {
  "proxyUrl": "http://proxy:8081"
 }
]
    
answered by 24.05.2017 в 10:56