Created
October 10, 2018 11:17
-
-
Save daliborgogic/ac440059b800a1ec6c34a0790c15622e to your computer and use it in GitHub Desktop.
npm permission fix
This file contains hidden or 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
$ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} | |
$ npm i -g whatever |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment