composer file could not be downloaded (HTTP/1.1 404 Not Found)
版权声明:
本文为博主原创文章,转载请声明原文链接...谢谢。o_0。
温馨提示:
技术类文章有它的时效性,请留意文章更新时间以及软件的版本
更新时间:
2019-01-02 20:15:59
问题描述
使用composer 的时候因为切换啦几次镜像地址,导致一些包找不到啦,并且还一直报错,导致这个情况的原因是因为我使用啦私有库,然后我把代码放在啦github,后来把github的代码给删除后,换到啦其它git地址,于是就报错啦如下
The "https://api.github.com/repos/zhaokeli/ank-framework/zipball/3a8cf017ffd859c58eb13f9ccbfa2fa8676fd129" file could not be downloaded (HTTP/1.1 404 Not Found)
解决方法
清理 composer 缓存后再安装
composer clear-cache