An example of zlib_decode exclusion error when using composer

Composer reports zlib_decode(): data error
The methods described on the Internet are rarely correct. Or correct then and now obsolete.

The correct way is
to make sure that network connection is not using ipv6, preferably a local connection, not wifi

local connection
Properties
This connection uses the following items:
Make sure that TCP/IPv6 is not ticked.

Get it done.
====================
In addition, there is a thorough method to uninstall all the installed composers, especially several cache directories, which are in the c drive, and use the retrieval that comes with windows Function, check the entire C drive, where there is the composer directory (case-insensitive) and files starting with composer, delete all, and then reinstall.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326417425&siteId=291194637