在Windows上安装凉亭的问题 [英] Issue installing bower on windows

查看:88
本文介绍了在Windows上安装凉亭的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是Windows 7 64位操作系统,并且安装Bower

I'm using Windows 7 64bit and I install Bower with

npm install -g bower

似乎安装正确。

npm http GET https://registry.npmjs.org/amdefine
npm http 304 https://registry.npmjs.org/amdefine
C:\Program Files (x86)\Git\local\bower -> C:\Program Files (x86)\Git\local\node_
modules\bower\bin\bower
bower@1.3.3 C:\Program Files (x86)\Git\local\node_modules\bower
...

但是凉亭无法正常工作:

But bower is not working:

$bower
sh.exe": bower: command not found

$bower -v
sh.exe": bower: command not found

什么

推荐答案

检查是否 C:\Program Files(x86)\Git\ \local 已添加到您的路径环境变量中。

Check if C:\Program Files (x86)\Git\local is added to your Path Environment Variable.

这篇关于在Windows上安装凉亭的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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