【问题标题】:Composer throwing git error while installing module in drupal 8在drupal 8中安装模块时作曲家抛出git错误
【发布时间】:2018-09-13 06:05:48
【问题描述】:

我正在尝试通过 composer 安装模块。它在 drupal 8 中抛出 RunTime Exception

安装失败,正在将 ./composer.json 还原为其原始内容。

[RuntimeException]
Failed to execute git clone --no-checkout"https://git.drupal.org/project/coder.git" 
"C:\xampp\htdocs\d8-demo\vendor\drupal\coder" && \\
cd /D "C:\xampp\htdocs\d8-demo\vendor\drupal\coder" && \\
git remote add composer "https://git.drupal.org/project/coder.git" && git fetch composer
Cloning into 'C:\xampp\htdocs\d8-demo\vendor\drupal\coder'...
error:  waitpid for fetch-pack failed: No child processes

【问题讨论】:

    标签: git composer-php drupal-8


    【解决方案1】:

    运行 composer update 以确保您安装了最新版本的 composer。

    如果您在 Windows 上,请确保您以管理员身份运行 GIT。

    【讨论】:

      猜你喜欢
      • 2021-02-28
      • 2019-12-31
      • 2021-01-24
      • 2021-03-03
      • 2016-02-14
      • 2019-11-28
      • 1970-01-01
      • 2013-09-07
      相关资源
      最近更新 更多