androidLaravel框架相关

使用 Composer 遇到的坑

2016-12-19  本文已影响3017人  7c03aed0f01f
  1. 缺少应用造成的错误:缺少 zip unzip 包
    Failed to download laravel/laravel from dist: The zip extension and unzip command are both missing, skipping.
    The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
    解决方案
    sudo apt-get install zip unzip

  2. 问题
    Failed to decode response: zlib_decode(): data error
    Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info

  3. 问题

 [Composer\Downloader\TransportException]
  The "https://packagist.phpcomposer.com/p/illuminate/database%24a5ffe27609696ff6a8208a45739246da41ea9d32cc0bbc52346617e034b101cb.json" file could not be downloaded (HTTP/1.1 404 Not Found)

解决

源的问题,多试几遍
  1. 问题
上一篇下一篇

猜你喜欢

热点阅读