gpt4 book ai didi

windows - git 未安装或不在 PATH 中

转载 作者:IT老高 更新时间:2023-10-28 21:54:18 25 4
gpt4 key购买 nike

Windows,当我尝试运行 npm install 时,它显示:

mean@1.0.0 postinstall E:\mean
node node_modules/grunt-cli/bin/grunt install
Running "bower:install" (bower) task

Fatal error : git is not installed or not in the PATH
npm ERR! weird error 1
npm ERR! not ok code 0

有什么问题?如何解决?

项目的git仓库是https://github.com/linnovate/mean

最佳答案

您是否正确安装了 Git?

根据 Bower 网站,您需要确保选中“从 Windows 命令提示符运行 Git”选项。

我在尝试安装 Angular 时遇到了这个问题,即找不到 Git。我重新运行了 git 的安装程序并更改了我的设置,然后它就可以工作了。

enter image description here

从凉亭网站: http://bower.io/

关于windows - git 未安装或不在 PATH 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19290899/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com