Useful snippet for resetting bower/npm permissions if you get errors like this
Error: EACCES: permission denied, open '/Users/jdavey/.config/configstore/bower-github.json'
You don't have access to this file.
sudo chown -R $USER:$GROUP ~/.npm
sudo chown -R $USER:$GROUP ~/.config
You can also run this on whatever folder is causing the permissions error. This resets them to the current user.
Webmentions
[…] http://www.authenticdesign.co.uk/reset-npm-bower-permissions/ […]