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

前端 未结 7 1018
春和景丽
春和景丽 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 16:59

    Faced similar issue when installing swagger-editor. Changed the following line in package.json from

    "bower-install": "bower install"
    

    to

    "bower-install": "bower install --allow-root"
    

提交回复
热议问题