Not being able to run bower in VS 2012

前端 未结 2 1347
眼角桃花
眼角桃花 2021-01-06 23:37

Since yesterday I have been trying to install and use bower for managing my dependencies. After going through many articles although I have been able to install it. I am not

相关标签:
2条回答
  • 2021-01-07 00:13

    In order to use Bower correctly in Windows, you need to install msysgit correctly. This is the requirement as specified in bower github https://github.com/bower/bower#a-note-for-windows-users.

    The option you have to select during installation is Run Git from the Windows Command Prompt.

    After successful installation. Restart Visual Studio and then you are good to go.

    0 讨论(0)
  • 2021-01-07 00:18

    In my case, after installing msysgit, I installed bower using:

    PM> Install-Package Bower

    Above step automatically installed dependencies (node.js, jquery)

    I also had to specify relative path to bower.cmd:

    PM>.\MyProject.bin\bower.cmd install semantic-ui

    0 讨论(0)
提交回复
热议问题