I’m new to Ionic / NodeJS and have been trying to start a sample project following the instructions on the Getting Started page, but I’ve ran into a problem when trying to pass through the company’s proxy when executing the “ionic start myApp tabs” command.
I’ve been able to configure NodeJS by setting the “http” and “https-proxy” properties, but this configuration seems to be completely ignored by the “ionic” command :
C:\ionic>ionic start myApp tabs Running start task... Creating Ionic app in folder C:\ionic\myApp based on tabs project DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip TypeError: Cannot read property 'statusCode' of undefined at Request._callback (C:\Users\yba\AppData\Roaming\npm\node_modules\ionic\lib\ionic.js:241:13) at self.callback (C:\Users\yba\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:129:22) at Request.EventEmitter.emit (events.js:95:17) at ClientRequest.self.clientErrorHandler (C:\Users\yba\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:239:10) at ClientRequest.EventEmitter.emit (events.js:95:17) at CleartextStream.socketErrorListener (http.js:1547:9) at CleartextStream.EventEmitter.emit (events.js:95:17) at Socket.onerror (tls.js:1445:17) at Socket.EventEmitter.emit (events.js:117:20) at net.js:441:14
The problem I face (and the workaround I’m using) is described there.
Is it normal ? If not should I file an issue for this ?
Thank you for your help,