I have managed to corrupt my npm install, and whenever I try to install packages using npm install, I receive error messages along these lines:
npm
npm install
If none of suggestions in answers worked out, try the following command: npm cache clear --force. It worked for me.
npm cache clear --force
I found it at https://github.com/vuejs/vue-cli/issues/1809.