I’m using ionic for years, but when i reinstalled my Mac I can install cordova or ionic on my mac .
I have tried everything and went to all forums but didn’d found unswer.
I install node.js from nodejs site and then i type “npm install -g cordova ionic” then mac works 10 minutes and after that I get loads of messages like :
npm ERR! fetch failed https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.5.2.tgz
npm WARN retry will retry, error on last attempt: Error: connect ETIMEDOUT
npm ERR! fetch failed https://registry.npmjs.org/finalhandler/-/finalhandler-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: connect ETIMEDOUT
npm ERR! fetch failed https://registry.npmjs.org/event-stream/-/event-stream-3.0.20.tgz
npm WARN retry will retry, error on last attempt: Error: connect ETIMEDOUT
…
On my other Mac everything worked like charm!?
Why I cant install ionic on first Mac?
And how to do that.
Please advice.