【问题标题】:Using git bash:Why is there an issue getting git clone to download a Foundation framework使用 git bash:为什么让 git clone 下载 Foundation 框架会出现问题
【发布时间】:2018-01-22 01:45:57
【问题描述】:

我已经尝试并阅读了我能找到的关于该问题的所有内容。
它发生在输入“foundation new”(不带引号)开始新项目的最后一步。

我选择模板,输入项目名称,然后它说有问题,并检查我计算机上的Git配置并重试。
我真的不知道如何解决这个问题。帮助将不胜感激。

Git、Nodejs、Bower 和 Gulp 已安装,我验证了这一点。

【问题讨论】:

    标签: git bash clone


    【解决方案1】:

    您应该根据zurb/foundation-cli issue 54 添加确切的错误消息。

    Downloading the project template...There was an issue running git clone to download the....
    Make sure your computer's Git is configured properly and then try again.
    

    来自lib/commands/new.js#L70

    var cmd = format('git clone %s %s', repo, projectName);
    

    尝试并重新安装所有内容:

    在重新安装 npm (4.5.0),然后重新安装 Foundation-cli(现在是 2.2.1)后,我已经启动并运行了。
    我将此归咎于系统配置混乱,尽管基础安装中更有意义的错误会是理想的。

    【讨论】:

      猜你喜欢
      • 2013-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-22
      • 2013-09-03
      • 2013-06-10
      • 2015-06-01
      • 1970-01-01
      相关资源
      最近更新 更多