Run bower from root user, it's possible? How?

前端 未结 7 1025
春和景丽
春和景丽 2020-12-07 16:29

I have a local development server where I test a lot of things, now I\'m playing with bower to manage the libraries\' dependencies in my Symfony2 project. After getting Node

7条回答
  •  不思量自难忘°
    2020-12-07 17:08

    I fixed a similar problem by changing the directory permissions:

    sudo chown -R $USER:$GROUP ~/.npm
    sudo chown -R $USER:$GROUP ~/.config
    

提交回复
热议问题