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
Just run
npm cache verify
This will clean it all.
This problem is related to npm version 5.7.1
Upgrading to node version 8.11.3 with npm version 5.8.0 solve the problem
i faced the same issue. For my case, i update npm to latest 6.1.0 by running "npm install -g npm@latest". Then run "npm cache verify
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: