Ionic start project throws error


#1

I install ionic through npm (npm install -g ionic). It raises an error when I try to create a seed project.

self $ ionic start mobile
Running start task...
Creating Ionic app in folder /home/abdulsattar/self/mobile
Downloading starter template from https://github.com/driftyco/ionic-angular-cordova-seed/archive/master.zip

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: EACCES, open '/tmpionic-angular-cordova-seed1386400466946.zip'

I think it is trying to download the the seed project into /tmp/ but is downloading directly into root. Am I the only one who’s getting this error?


#2

Never mind, I see it’s fixed in the master.


#3

Yea, sorry about that, it’s fixed now :slight_smile:


#4

HI,
I think this issue is reopened.
I see that error in windows 8.

Regards,
KK


#5

Hi there, having the same trouble on iMac 10.9.3.
I’ve updated bower / ionic / cordova.

events.js:72
        throw er; // Unhandled 'error' event

#6

I still get the error (ionic 1.1.8, cordova 3.5.0-0.2.6, on Windows 7 platform)

ionic platform android

events.js:72
        throw er; // Unhandled ‘error’ event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)