I just came back to work on a React project after working in the Rails environment and found that I cannot run any NPM commands in my Mac terminal. I\'ve tried all the remedies
Remove all file from following folder
A)C:\Users\\AppData\Roaming\npm
B)C:\Users\\AppData\Roaming\npm-cache
and install node again
install node
then execute command "npm install -g @angular/cli"
npm install -g @angular/cli