Problem installing ionic


Guys i am new And having issue when trying to install ionic on my macbook pro( i have installed nodejs)

please check the screenshot to see the error. Thanks


Often you need to install node modules with sudo on a mac. It depends on how your permissions are setup, but the following should do it.

sudo npm install -g ionic


That worked like a charm! thanks a lot