Last active
April 17, 2019 15:08
-
-
Save mavieth/e9cde0c40acb345cbfcd to your computer and use it in GitHub Desktop.
Error: Cannot find module 'npm-registry-client'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update Node to latest version | |
brew upgrade | |
# Find potential problems | |
brew doctor | |
# Remove Node and prune libraries | |
brew uninstall node | |
brew prune | |
# Remove node stuff | |
rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/npm* | |
# Unlink and Link Node | |
brew unlink node | |
brew link node | |
# Install node | |
brew install node | |
#Check installs | |
which node | |
which npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment