Vote up!
Vote down!

Failed to clone State_Machine during composer installation.

Running the latest version of composer from the command line but I am getting a [RuntimeException] error:

"Failed to clone https://git.drupal.org/project/state_machine, git was not found, check that it is installed and in your PATH env. sh: git: command not found."

I get a similar error previous to this for drupalcommerce/projectbase and Drupal core but it "downloads from dist" for both

Composer is latest version 1.1.3 (stable channel)

This is from a clean installation at command line as per your installation instructions.

Command: composer create-project drupalcommerce/project-base mystore --stability dev

as per link http://docs.drupalcommerce.org/v2/install.html

All help greatly appreciated.


Asked by: UK_Rogue
on July 7, 2016

1 Answer

Vote up!
Vote down!

Composer is telling you that you don't have Git installed. Install Git.

Bojan Zivanovic
Answer by: Bojan Zivanovic
Posted: Aug 8, 2016