首页 > bower安装jquery出现 git is not installed or not in the PATH错误

bower安装jquery出现 git is not installed or not in the PATH错误

具体错误如下所示:
bower jquery#* ENOGIT git is not installed or not in the PATH


你好,'windows'系统,出现这个问题,你可以尝试
1.配置在'path'设置'git'的变量路径(到你的'git'安装路径);
2.重启下'npm'命令窗口;
再次运行,一般即可。


你没装 Git/你装了 Git,但是 $PATH 里找不到 git 在哪里。


bower是通过git来下载模块的。在用户环境变量path的值后面添加 git下的bin路径名 如“D:gitbin”


如果装了git还出现这个提示的话,试下用git bash来代替cmd使用bower来安装

【热门文章】
【热门文章】