使用composer update 时报错 json file could not be downloaded:SSL operation failed

tech2022-08-08  168

今天使用composer 写一个组件上传到服务器,然后composer update 时出现如下错误 查看一下composer 全局设置

composer config -gl

结果发现composer源还是默认源 改成阿里源

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

然后在 composer update ,搞定!

最新回复(0)