user6189654
user6189654

Reputation:

TransportException Error when run composer install

$ composer install

Loading composer repositories with package information Updating dependencies (including require-dev)

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

Your configuration does not allow connection to http://packagist.org. See https://getcomposer.org/doc/06-config.md#secure-http for details. http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

[Composer\Downloader\TransportException] Your configuration does not allow connection to http://packagist.org. See https://getcomposer.org/doc/06-config.md#secure-http for details.

Upvotes: 0

Views: 609

Answers (1)

user6186801
user6186801

Reputation:

Run this before composer install

composer clear-cache 

Upvotes: 1

Related Questions