composer update问题

问题:
执行composer update时出现错误提示
The "https://packagist.phpcomposer.com/p/provider-2019-01%2405ac89759500a034a8d4b714f387976c8aa60c5920e3f34bab59f0b2a742f3d4.json" file could not be downloaded (HTTP/1.1 404 Not Found)

解决:

  1. /usr/bin/env php composer.phar clear-cache
    /usr/bin/env php composer.phar dump-autoload
    分别执行清除缓存和 重新load后 依然偶尔出现
  2. 查询版本发现当前版本为1.1.3 最新版本为1.8.4
    composer self-update
    升级后问题解决

你可能感兴趣的:(composer update问题)