composer 遇见问题 整理

修改镜像源:改为阿里云镜像

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

 

报错:Content-Length mismatch, received 523324 bytes out of the expected 605211

处理:

  修改缓存文件大小配置:composer config cache-files-maxsize 800MiB

posted @ 2020-08-26 17:56  七彩鱼丸  阅读(216)  评论(0编辑  收藏  举报