Skip to content

Failed to execute git checkout #477

Description

@Yao228

Hi,
I need your help.
When I am triying to install campaignchain by composer create-project --stability=dev campaignchain/campaignchain campaignchain 1.0.x-dev

I get this error.
Your command-line PHP is using multiple ini files. Run php --ini to show them.
Now trying to download from source

  • Installing symfony/polyfill-php70 (v1.5.0): Cloning b6482e6897 from cache
    Failed to download symfony/polyfill-php56 from dist: The zip extension and unzip command are both missing, skipping.
    Your command-line PHP is using multiple ini files. Run php --ini to show them.
    Now trying to download from source
  • Installing symfony/polyfill-php56 (v1.5.0): Cloning e85ebdef56 from cache
    Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip command are both missing, skipping.
    Your command-line PHP is using multiple ini files. Run php --ini to show them.
    Now trying to download from source
  • Installing symfony/polyfill-mbstring (v1.5.0): Cloning 7c8fae0ac1 from cache
    Failed to download symfony/symfony from dist: The zip extension and unzip command are both missing, skipping.
    Your command-line PHP is using multiple ini files. Run php --ini to show them.
    Now trying to download from source
  • Installing symfony/symfony (v3.3.9): Cloning a9d2f68ae9 from cache
    a9d2f68ae9946000e2bcc3403d218ec0124f992a is gone (history was rewritten?)

[RuntimeException]
Failed to execute git checkout 'a9d2f68ae9946000e2bcc3403d218ec0124f992a' -- && git reset --hard 'a9d2f68ae9946000e2bcc3403d218ec0124f992a'

fatal: reference is not a tree: a9d2f68ae9946000e2bcc3403d218ec0124f992a

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-r
epository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-insta
ll] [--ignore-platform-reqs] [--] [] [] []
How can I fixed that error.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions