Composerのコマンドを実行したらエラーがでた。

スポンサーリンク

Drupalでモジュールを追加しようとしてComposerのコマンドを入力したが、次のエラーが発生しました。

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

[RuntimeException]
git was not found in your PATH, skipping source download

GITがないのでインストールしたらエラーは解消されました。

sudo dnf install git

タイトルとURLをコピーしました