zlib_decode(): data error

Posted 醉客剑轩

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zlib_decode(): data error相关的知识,希望对你有一定的参考价值。

使用composer 安装laravel 项目,执行composer create-project laravel/lumen --prefer-dist,命令报 [ErrorException]    zlib_decode(): data error 错。 

解决办法:执行 composer self-update 即可

 

 


或者是网络问题,换成移动数据网络试一试。或者执行下面的指令:

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

以上是关于zlib_decode(): data error的主要内容,如果未能解决你的问题,请参考以下文章

composer爆错:zlib_decode():data error

ErrorKiller:Failed to decode response: zlib_decode(): data error

Failed to decode response: zlib_decode(): data error Retrying with degraded;

解决composer版本升级报错问题Failed to decode response: zlib_decode(): data error

安装 Laravel 时出现 Composer 错误“无法解码响应:zlib_decode():数据错误”

ParserError: Error tokenizing data. C error: Expected 1 fields in line 122, saw 2