Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
149
rated 0 times [  151] [ 2]  / answers: 1 / hits: 76899  / 11 Years ago, tue, november 19, 2013, 12:00:00

I just installed git and bower via NPM for a project. It's a first time use.



Then I tried running bower install jQuery for example, I get this specific error:



ENOGIT git is not installed or not in the PATH



Where can I actually define paths and how, and when we say PATHs, what's the main idea?



Also, I really need help with some good resources for learning the concept behind this question or learning NPM usage in general.



I'm using windows 7, 64-bit.


More From » git

 Answers
10

Install msysgit, as stated in the Bower documentation:



To use Bower on Windows, you must install msysgit correctly. Be sure to check the option shown below:


[ ] Use Git bash only


[x] Run Git from the Windows Command Prompt


[ ] Run Git and included Unix tools from the Windows Command Prompt



After the installation has completed, restart CMD. You (and bower) will then be able to run git from the command prompt, which will fix your issue.


[#74192] Monday, November 18, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
emileef

Total Points: 724
Total Questions: 108
Total Answers: 102

Location: Romania
Member since Sun, Dec 20, 2020
4 Years ago
;