Reinstall Broken npm
If npm is broken, it cannot be used to fix itself
npm i -g npm
From the npm README the following remedy is mentioned:
curl -qL https://www.npmjs.com/install.sh | sudo sh
[!WARNING] Remember to always review endpoints like this before executing