diegonetto / generator-ionic

Build hybrid mobile apps using the Ionic Framework
MIT License
1.74k stars 336 forks source link

Problem when i run "yo ionic" #182

Closed dtrujo closed 9 years ago

dtrujo commented 9 years ago

Good afternoon! When i try to run yo ionic i have this error:

Created a new Cordova project with name "Test" and id "com.example.Test"

Install plugins registered at plugins.cordova.io: grunt plugin:add:org.apache.cordova.globalization Or install plugins direct from source: grunt plugin:add:https://github.com/apache/cordova-plugin-console.git

Installing selected Cordova plugins, please wait. events.js:85 throw er; // Unhandled 'error' event ^ Error: EACCES, open '/Users/diegotrujillo/.plugman/plugman.log' at Error (native)

Maybe i am using a new version of cordova? how can i fix it? thanks in advance

aitorllj93 commented 9 years ago

It seems like a permissions error on '.plugman' folder in your home, try:

sudo chmod 777 /Users/diegotrujillo/.plugman -R
or if it doesn't exist, create it
mkdir /Users/diegotrujillo/.plugman
sudo chmod 777 /Users/diegotrujillo/.plugman -R
dtrujo commented 9 years ago

Now its fine thank you