composer 报错 The "https://mirrors.aliyun.com/composer/p....json" file could not be downloaded (HTTP/1.1 404 Not Found)
[Composer\Downloader\TransportException]
The "https://mirrors.aliyun.com/composer/p/provider-2017%241979b6fa417248bfcbebc2c200d2cdcc64d79993f936c515d021639fbdacca8a.json" file could not be downloaded (HTTP/1.1 404 Not Found)
其实很简单。不要盯着红色的看。黄色的也看一下
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Warning from https://mirrors.aliyun.com/composer: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
解决:
把composer升级到2就行
composer self-update --2
发表评论 取消回复