无法在VS 2012中运行Bower [英] Not being able to run bower in VS 2012

查看:73
本文介绍了无法在VS 2012中运行Bower的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从昨天开始,我一直在尝试安装和使用Bower来管理我的依赖项。经过许多文章之后,尽管我已经能够安装它。我无法运行它。除了许多文章之外,我还观看了该视频:





在安装过程中必须选择的选项是 Run Git从Windows命令提示符



成功安装后。重新启动Visual Studio,然后就可以了。


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 being able to run it. Beside many articles I also followed this video:

Bower running in Package Manager Console in Visual Studio install

As the video is in some other languages even though I followed all the commonds, I could not get

$env:path

After doing everything when I type bower in the Package manager console, it gives me error

Thanks in advance for helping me out.

PS: I have already installed npm and node.

解决方案

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.

这篇关于无法在VS 2012中运行Bower的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆