Warning from https://mirrors.aliyun.com/composer: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://D:/ProgramFiles/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
最近用laravel发现,在安装扩展是一直报composer版本错误。
原因:从报错信息可以看出是composer版本太旧的。
解决办法:升级本地的composer版本
composer self-update
文章评论(0)