windows环境composer install失败的解决办法
2021-02-08 20:14
标签:pac fail ade bash ash config str ror led 报错信息:[Composer\Downloader\TransportException] 百度了好多,都没用,有的说是把镜像改成 windows环境composer install失败的解决办法 标签:pac fail ade bash ash config str ror led 原文地址:https://www.cnblogs.com/zhangniu/p/11346933.html
The "https://repo.packagist.org/p/doctrine/inflector.json" file could not be downloaded: fa
iled to open stream: HTTP request failed!composer config -g repo.packagist composer https://packagist.phpcomposer.com,我试了以后是没用的,后来把镜像换成阿里云的镜像就可以, 可能是因为镜像地址不稳定吧
改为:composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
即可
文章标题:windows环境composer install失败的解决办法
文章链接:http://soscw.com/index.php/essay/52783.html