Cannot update Ionic or Cordova


#1

After reading this article from Ionic (http://blog.ionic.io/help-us-test-the-super-starter/) I have not been able to update my Ionic or Cordova version to work with the new starter app. What’s more, running this broken update has now broken my Ionic installation and is preventing me from working on any existing Ionic projects.

This is the command line command that I ran:
npm install -g ionic

The output that it gave me is as follows:


#2

Try npm remove -g ionic then npm install -g ionic again.


#3

You may also need to do a npm cache clean after the npm remove -g ionic


#4

Thanks @iampersistent, I uninstalled Ionic, cleared npm cache and then reinstalled and this has worked perfectly! Thanks for your help.