Unable to create IONIC project


#1

Hello All,

I am getting following error while creating new project, any one have idea how to resolve it.

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip

TypeError: Cannot read property 'statusCode' of undefined
    at Request._callback (C:\Users\c5181635\AppData\Roaming\npm\node_modules\ion
ic\lib\ionic.js:257:13)
    at self.callback (C:\Users\c5181635\AppData\Roaming\npm\node_modules\ionic\n
ode_modules\request\request.js:129:22)
    at Request.EventEmitter.emit (events.js:95:17)
    at ClientRequest.self.clientErrorHandler (C:\Users\c5181635\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)

#2

What version of node do you have installed?
I’ve seen people use beta versions of node and errors.
Try using 0.10.28