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

前端 未结 7 1019
春和景丽
春和景丽 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:06

    If you are encountering this issue on Docker containers just add this line in your Dockerfile:

    RUN echo '{ "allow_root": true }' > /root/.bowerrc
    

提交回复
热议问题