Home  >  Article  >  Development Tools  >  Solve the zlib_decode(): data error error reported by composer

Solve the zlib_decode(): data error error reported by composer

藏色散人
藏色散人forward
2020-02-15 13:43:282662browse

The following tutorial column will introduce to you the solution to the zlib_decode(): data error error reported by composer. I hope it will be helpful to friends in need!

Solve the zlib_decode(): data error error reported by composerSolve the zlib_decode(): data error error reported by composer

Use composer to install the lumen project and execute composer create-project laravel/ lumen --prefer-dist, the command reports [ErrorException] zlib_decode(): data error.

Solution:

Execute composer self-update to Or there is a network problem, try switching to a mobile data network. Or execute the following instructions:

composer config -g repo.packagist composer https://packagist.phpcomposer.com

For more composer-related technical articles, please visit the composer column:

https://www.php.cn/tool/composer/

The above is the detailed content of Solve the zlib_decode(): data error error reported by composer. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete