Failed to decode response: zlib_decode(): data error
- Updated On 13 Jan 2021
- 1 Minute To Read
-
Print
-
DarkLight
Description
When running composer install
or composer update
, you might get the issue Failed to decode response: zlib_decode(): data error .
Solution
Change the composer configuration by running composer config -ge
in the terminal and replacing the configuration with the following one
{
"repositories": {
"packagist": { "url": "https://packagist.org", "type": "composer" }
}
}
Was This Article Helpful?