1. Install the latest version of NodeJS from their website (e.g. 6.X.X).
  2. Open the Node.js command prompt as administrator.
  3. Run: npm cache clean
  4. Run: npm uninstall -g ionic
  5. Run: npm uninstall -g cordova
  6. Run: npm install -g ionic
  7. Run: npm install -g cordova

相关文章: