Not being able to run bower in VS 2012

♀尐吖头ヾ 提交于 2019-12-01 01:22:55

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!