I am having issues installing Cordova and Ionic. At first I couldn\'t because of what seems to be a corrupted installation, that led me to uni
None of the previous answers could help me.
Fortunately, after a lot of 'try and error', I found the following simple solution:
npm install
works
flawlessly.
Tip: if you have your project in a git repository: