执行composer require laravel/ui:^3.0 --dev报错
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.vagrant@homestead:~/Code/Laravel$
执行:composer self-update更新composer版本,如果报错前面加上sudo
解决了以上报错。
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: