I do bower install css-circle-menu
and I got this error :
/usr/local/lib/node_modules/bower/lib/node_modules/configstore/index.js:54
throw err;
^
Error: EACCES: permission denied, open '/Users/james/.config/configstore/bower-github.json'
Tried sudo bower install css-circle-menu, it doesn't work too. Also tried to install bower global again, got the same error.
The problem is caused by insufficient user permissions. You can avoid the issue invoking a sudo
command but I suggest you to try to fixing your .config
folder permissions using:
sudo chown -R $USER:$GROUP ~/.config
Bower and NPM commands shouldn't be run with sudo.
试试这个: sudo bower install css-circle-menu --allow-root
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.