You probably updated NodeJS incorrectly. My advice.
- Manually delete your NodeJS update. Drag and drop it into the recycle bin.
- Install nvm or nvm for Windows.
- Use nvm to install the current Node LTS.
- Once that is stable, install Ionic.
- DO NOT run any command as Administrator. Otherwise, uninstalling later might cause you problems.