I\'ve read a few answers on StackOverflow & some other sites but none seem to fix the issue I\'m having.
I\'m installing AppGyver Add-ons, via terminal. Getting
Im not sure what happened with my project but in order to fix the issues with bower I had to run the following.
sudo npm install -g bower
sudo bower cache clean --allow-root
rm -Rf bower_components
sudo bower install --allow-root
Im still not really sure what went wrong but after those commands i was up and running
I had a similar issue that I couldn't resolve using these suggestions. I was successful when I ran Bower with root privileges, like so:
sudo bower install --allow-root
I hit the same thing and noticed that the bower_components folder was owned by the root user. I changed ownership to my user and everything worked without having to run bower as root.
sudo chown -R $USER bower_components
1) run
$groups
to get the name of your group
2) then run
$sudo chown -R {user}:{group} ~/.config
$sudo chown -R {user}:{group} ~/.cache
where {user} - is username and {group} - is group name
Change the ownership for the .config and cache directory
sudo chown -R username:username ~/.config
and
sudo chown -R username:username ~/.cache
I noticed you tried this from a MacBook Pro.
You could try this:
~/.cache/bower
Also as @Edwin suggested you may try:
The command
bower cache clean
which will have the same effect irrespective of OS.