composer Content-Length mismatch, received 48756 bytes out of the expected 855656

参考:https://www.jianshu.com/p/760726b6b9c0

还是老样子coposer报错了,这玩意贼容易报错,解决方式如下

composer config -gl // 查看下源

在这里插入图片描述

// 如果有需要就换成阿里云的
composer config repo.packagist composer https://mirrors.aliyun.com/composer/

或者有可能是内存不足导致的

composer config cache-files-maxsize 800MiB

然后就ok了🥳

posted @ 2020-10-29 11:26  蜗牛使劲冲  阅读(4)  评论(0编辑  收藏  举报  来源