. Advertisement .
..3..
. Advertisement .
..4..
When I was setting up my system to install jQuery using Bower, I got the error:”bower enogit git is not installed or not in the path”.
Bower, on the other hand, is unable to locate it. Here is the details:
bower angular#1.0.6 ENOGIT git is not installed or not in the PATH
I’ll need your help to fix it. Thank you.
The cause:
I read the question and discovered the following cause. After installing Git For Windows on your PC, re-running bower install Jquery will give you an error because Git isn’t specified in the environment variable.
How to solve:
I’ll show you how to do it in two different ways.
The first option:
Set the directory route to C:\Program Files\Git\bin and add Git to the environment variable (similar to the operation of setting the java environment variable, no demonstration)
Computer Right – Properties – (left side) Advanced System Settings – Environment Variables – Click PATH, editing – added at the end ;C:\Program Files\Git\bin
The second option:
At the console, type the following command:
Finally, run once more.
To help you run the software again, please follow my instructions. I hope this information is useful to you.