Composer create-project does not work
benny-innofaith opened this issue · comments
benny-innofaith commented
Reproducible steps:
composer create-project --prefer-dist limoncello-php/app app_name && cd app_name
Expected result:
Some file structure is created without error.
Actual result:
Installing limoncello-php/app (0.3.4)
- Installing limoncello-php/app (0.3.4)
Downloading: Failed
Failed to download limoncello-php/app from dist: The "https://api.github.com/repos/limoncello-php/app/zipball/2ecc97d1361321fd1cad9205799822fef21a781d" file could not be downloaded (HTTP/1.1 302 Found)
Now trying to download from source
- Installing limoncello-php/app (0.3.4)
Cloning 2ecc97d1361321fd1cad9205799822fef21a781d
2ecc97d1361321fd1cad9205799822fef21a781d is gone (history was rewritten?)
[RuntimeException]
Failed to execute git checkout '2ecc97d1361321fd1cad9205799822fef21a781d' -- && git reset --hard '2ecc97d1361321fd1cad9205799822fef21a781d' --
fatal: reference is not a tree: 2ecc97d1361321fd1cad9205799822fef21a781d
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
neomerx commented
I accidently broke some GitHub project settings. Now it's fixed and project creation should work.
benny-innofaith commented
I have confirmed this problem is fixed.