Problems with bower

0

Once I've installed the bower and tried to give angular info bower it gives ENOGIT git is not installed or not in the PATH . I use git bash. How do I resolve this?

    
asked by anonymous 29.08.2017 / 15:48

1 answer

2

You need to add Git in the Windows Path.

To work, the path of the Git should be in "C: \ Program Files (x86) \ Git", if it is different, it is necessary to change the last step to the path that is.

1 - Right click on "My Computer", then go to "Properties".
2 - Click on "Advanced System Settings" in the left corner of the screen.
3 - Under the system variables, there is a path of a variable, you should click on edit it to add the Git pwd in the FINAL of that variable path:

% PROGRAMFILES (x86)% \ Git \ bin;% PROGRAMFILES (x86)% \ Git \ cmd
(If Git is in another path, change the start)

    
29.08.2017 / 16:17