安装 overtrue/Laravel-lang:~3.0 报错!
vagrant@homestead:~/Code/larabbs$ composer require "overtrue/laravel-lang:~3.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 247463936) (tried to allocate 9437184 bytes) in phar:///usr/local/bin/composer/src/Composer/Repository/Compo serRepository.php on line 565
Fatal error: Out of memory (allocated 247463936) (tried to allocate 9437184 bytes) in phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRe pository.php on line 565
vagrant@homestead:~/Code/larabbs$ composer require "overtrue/laravel-lang:~3.0"
推荐文章: