Skip to content

Instantly share code, notes, and snippets.

@ahmeturganci
Created October 7, 2019 11:31
Show Gist options
  • Save ahmeturganci/00cde1c6d86ad3990bf6d0ac8c470317 to your computer and use it in GitHub Desktop.
Save ahmeturganci/00cde1c6d86ad3990bf6d0ac8c470317 to your computer and use it in GitHub Desktop.
Check if the configuration is broken or not. the update might have installed it in the wrong place.
First check: npm config get prefix
In my case It wasn't set to /usr/local but in /usr/Roaming.
So to fix it, use: npm config set prefix
Problem solved! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment