-
Notifications
You must be signed in to change notification settings - Fork 60
composer create-project fails with "Failed to execute git checkout" #17
Comments
i have the same problem, if you run a "composer update" after the crash it continues... |
I have run into the same issue as well, when trying to use lightning as the base-setup on top of which we develop contenthub. Content hub setup is done by a few shell scripts. When we install vanilla drupal from those scripts by a command like below, everything works
When trying to install lightning though, the same error reported here shows up.
Will report back progress. |
I see no reason why this should be happening and can't reproduce. Yet it's been reported by at least three people. My version of git (2.9.3) is a little newer than @aangelinsf (2.8.4) but that seems far-fetched. The dependency on entity_storage_migrate comes from Multiversion < alpha11. HEAD of the 8.x-1.x branch of lightning updates that to alpha12. So a workaround would be to require HEAD for now. To do so:
|
Using the |
I'm getting the same error when installing contentacms 😞 |
Having the same issue with thunder and contentacms. @sumeetpareek workaround helped me. Thanks! Not sure if this an issue with composer. |
For folks having this problem: are you using Acquia DevDesktop? I had the same issue (different repo) where I was the only one on my team having this issue though, which made it exceptionally maddening... Through process of elimination, if I went into my
...this made the CLI PHP fall back to OS X's system PHP in Anyway. Just in case it helps anyone, it seems that was the issue in my case... (NO idea why.) |
After clearing the composer cache while running:
composer 1.2.1
git 2.8.4
macOS 10.12
I executed:
composer create-project acquia/lightning-project:^8.1.0 rh-lightning --no-interaction
And received:
The following post suggests adding --prefer-dist, but that did not help, nor did --prefer-source:
composer/composer#996
Is this a bad repository?
The text was updated successfully, but these errors were encountered: