niknak
niknak

Reputation: 146

Running 'bower install' on mac

I am trying to run bower install after the installation of bower using npm is done. But the problem is when I run sudo bower install, it says bower should be run without sudo. If one runs bower install it says that permission denied cannot access file - ~/.config/configstore/bower-github.json

I tried switching to root user but no luck. What can be done to fix this?

Upvotes: 1

Views: 988

Answers (1)

niknak
niknak

Reputation: 146

This is how it should be solved apparently. Run the following

sudo chown -R *username* ~/

That should solve it!

Upvotes: 1

Related Questions