この内容は古いバージョンです。最新バージョンを表示するには、戻るボタンを押してください。
バージョン:1
ページ更新者:T
更新日時:2019-03-03 09:27:36

タイトル: Failed to clone https://github.com/symfony/thanks.git via https, ssh protocols, aborting.
SEOタイトル: 【Laravel】Failed to clone https://github.com/symfony/thanks.git via https, ssh protocols, aborting.

エラー内容

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 81 installs, 0 updates, 0 removals
   
Failed to download symfony/thanks 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/thanks (v1.1.0): Cloning 9474a631b5


  [RuntimeException]
 
Failed to clone https://github.com/symfony/thanks.git via https, ssh protocols, aborting.

  - https://github.com/symfony/thanks.git
    fatal: unable to access 'https://github.com/symfony/thanks.git/': Peer reports incompatible or unsupported protocol version.

  - git@github.com:symfony/thanks.git
    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
 

 

発生条件/原因/対処法

エラー内容と直接的に関係は無いが、問題のエラー以前に

Failed to download symfony/thanks 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.

というエラーが出ている場合は zip と unzip をOSにインストールすれば解決する場合がある。

以下、CentOSの例

yum install zip

yum install unzip