I got the following error while creating a new app using ionic
. I am following instructions according to the standard doc (http://ionicframework.com/getting-sta
The error-line at the last seems to be a default error message in ionic and working with cordova. The solution is as simple as running the command with sudo
.
Something may have changed regarding the installation of newer Ionic/Cordova versions via Node/NPM, as reiterated in this Cordova bug tracker issue thread.
As @TechSpellBound suggests, you could prefix all ionic command line calls with 'sudo'. I took some alternative advice from the bug tracker post and simply changed the owner and group of the 'tmp' folder to my own user/group and not 'root:root', as it seemed to be, previously:
sudo chown -R someuser:somegroup /home/someuser/tmp
My group name was the same as my user name, so, assuming a similar setup on your machine, issue:
sudo chown -R gsakhardande:gsakhardande /home/gsakhardande/tmp
;-)
Running Command With sudo
sudo ionic start todo blank