'Git not installed or path not specified' 即使在 git 和 stackoverflow 中给出的路径变量之后安装 Bower 组件
'Git not installed or path not specified' while installing bower components even after having git & the path variables as given in stackoverflow
我正在从事一个项目,该项目需要来自 Git 的 Bower 组件,即使在我的系统中安装了 GIT 之后也没有安装它。我还将路径设置为 git/cmd.
配置是:Windows7; GIT 是 2.7.0.windows1 并且路径是 programfiles/git/cmd
我也尝试了 Whosebug 中给出的各种解决方案,但没有解决我的问题。我的一个有趣观察是 user/appdata
中没有 git
系统中也安装了npm。请建议我解决这个问题。
Bower 在其“Windows Users”部分明确指出:
To use Bower on Windows, you must install Git for Windows correctly. Be sure to check the options shown below:
This issue 确认:
I've encountered the same issue before,
I just re-install everything and followed these instructions.
Firstly I installed Git then install bower , it fixes my problem.
或者,至少,在你的 bower 命令之前:
set PATH=%PATH%;C:\Program Files (x86)\Git\bin;
我刚刚遇到了同样的问题.. 在搜索并尝试了很多人在 Whosebug 和 youtube 中给出的一些答案之后.. 这件事对我有用 windows..
我重装了Git..然后..check the third option
安装后.. 右键单击您的项目文件夹并 select "Git Bash Here".. 效果非常好..
也用 window cmd..检查它发现 Git PATH..
希望这对您有所帮助。
我正在从事一个项目,该项目需要来自 Git 的 Bower 组件,即使在我的系统中安装了 GIT 之后也没有安装它。我还将路径设置为 git/cmd.
配置是:Windows7; GIT 是 2.7.0.windows1 并且路径是 programfiles/git/cmd
我也尝试了 Whosebug 中给出的各种解决方案,但没有解决我的问题。我的一个有趣观察是 user/appdata
中没有 git系统中也安装了npm。请建议我解决这个问题。
Bower 在其“Windows Users”部分明确指出:
To use Bower on Windows, you must install Git for Windows correctly. Be sure to check the options shown below:
This issue 确认:
I've encountered the same issue before,
I just re-install everything and followed these instructions.Firstly I installed Git then install bower , it fixes my problem.
或者,至少,在你的 bower 命令之前:
set PATH=%PATH%;C:\Program Files (x86)\Git\bin;
我刚刚遇到了同样的问题.. 在搜索并尝试了很多人在 Whosebug 和 youtube 中给出的一些答案之后.. 这件事对我有用 windows..
我重装了Git..然后..check the third option
安装后.. 右键单击您的项目文件夹并 select "Git Bash Here".. 效果非常好..
也用 window cmd..检查它发现 Git PATH..
希望这对您有所帮助。