Problem with the installation of ionic (mac osx)

Guys I have a problem installing ionic, can help me?

$ npm install-g ionic

$ npm install-g cordova ionic

(obs) Already reinstalled the node and I haven’t been able to, the problem repeats itself!

I’m running the exact same version of node and npm, getting the exact same issue. I’ve tried to install previous versions of ionic with no success…

Update: running this fixed the problem for me.

npm cache clear

Nice, I did too… Thank you very much!

1 Like