浏览文章
文章信息
Composer报错 Content-Length mismatch, received 114449 bytes out of the expected
14728
查看配置
composer config -l
配置时中国镜像
E:\WelineFramework>composer config -l [repositories.packagist.org.type] composer [repositories.packagist.org.url] https://packagist.phpcomposer.com [process-timeout] 300E:\WelineFramework>composer config -l
[repositories.packagist.org.type] composer
[repositories.packagist.org.url] https://packagist.phpcomposer.com
[process-timeout] 300
换阿里云镜像
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
[repositories.packagist.org.type] composer [repositories.packagist.org.url] https://mirrors.aliyun.com/composer/ [process-timeout] 300[repositories.packagist.org.type] composer
[repositories.packagist.org.url] https://mirrors.aliyun.com/composer/
[process-timeout] 300
重新安装报错的模块!