简体   繁体   中英

ENOGIT git is not installed or not in the path

I was trying to install some framework packages using bower into my angularjs app. and i was getting this error using the command line tool:

在此处输入图片说明

You just need to execute your command using Git Shell tool which is a Git aware powershell tool to run all git dependent technologies such as: node, git and npm .

在此处输入图片说明

Just use the Git Bash instead of node.js or command prompt

As an Example for installing the ReactJS package, after opening Git Bash, execute the following command to install react:

bower install --save react

To install any other package you would essentially execute the following command:

bower install <package>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM