Content-Length mismatch, received xxxx bytes out of the expected xxxx

When using Composer to install dependencies, the control bar displays an error: Content-Length mismatch, received xxxx bytes out of the expected xxxx (the content length does not match, the received xxxx bytes exceed the expected xxxx), just switch the image to Alibaba Cloud:

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

 

Guess you like

Origin blog.csdn.net/u010104680/article/details/109267378