composer中文镜像无法安装qcloud/weapp-sdk

之前可能是在哪个时候配置过composer的中文镜像

https://laravel-china.org/composer


导致今天在用composer安装qcloud/weapp-sdk 时候报了个错误:

[Composer\Downloader\TransportException]

The "https://packagist.laravel-china.org/p/qcloud/weapp-sdk%248c07210f0eb5c

032386f25a885320444492eebb692e79145f9911d72c70a6cc6.json" file could not be

downloaded (HTTP/1.1 503 Service Temporarily Unavailable)


需要取消镜像

取消镜像

composer config -g --unset repos.packagist

再composer update

果然就好用了

- Installing qcloud/weapp-sdk(v0.4.4): Downloading (100%)

你可能感兴趣的:(composer中文镜像无法安装qcloud/weapp-sdk)