Closed zhouhao27 closed 9 years ago
Here is my error message when I run sudo npm install -g generator-ionic:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied node.js:720 var cwd = process.cwd();
I solve the issue by:
sudo npm install -g generator-ionic --ignore-scripts
But I don't know if there is any side effect.
I delete all npm and node. And reinstall again. Everything's fine
Here is my error message when I run sudo npm install -g generator-ionic: