Error when running $ bower install
ERROR:
Bower install : permission error
/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:54
throw err;
^
Error: EACCES: permission denied, open '/Users/alexlaw/.config/configstore/bower-github.json'
You don't have access to this file.
OPLOSSING:
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config