sudo npm uninstall npm -g
brew uninstall node
Then
sudo rm -rf /usr/local/lib/dtrace/node.d /usr/local/lib/node_modules /usr/local/bin/npm /usr/local/bin/nodemon /usr/local/bin/node /usr/local/include/node ~/.npm* ~/.node* /usr/local/share/man/*/node* /usr/local/share/man/*/npm*
Which removes the following
/usr/local/lib/dtrace/node.d
/usr/local/lib/node_modules
/usr/local/bin/npm
/usr/local/bin/nodemon
/usr/local/bin/node
/usr/local/include/node
~/.npm*
~/.node*
/usr/local/share/man/*/node*
/usr/local/share/man/*/npm*
Glad to read that brother, I´m planning to realease a front/back end public wiki with troubleshooting, if you are interested I´ll be posting the link in my GitHub profile 😉