composer 报 zlib_decode(): data error

今天composer安装一个插件,

composer require overtrue/laravel-wechat 2.1.* 

突然报zlib_decode(): data error,
解决办法 :确定根目录有:composer.phar
然后执行:

composer self-update

重新安装即可!

posted @ 2017-06-30 15:13  周伯通之草堂  阅读(752)  评论(0编辑  收藏  举报