Skip to content

Instantly share code, notes, and snippets.

View darenasdev's full-sized avatar
🎯
Focusing

Daniel darenasdev

🎯
Focusing
View GitHub Profile
@darenasdev
darenasdev / Fixing npm permissions
Last active August 22, 2017 20:50
How to Fixing npm permissions
1. First find the path to npm's directory
$ npm config get prefix
2. Change the owner of npm's directories to the name of the current user (your username!):
$ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}