执行 Composer require "barryvdh/Laravel-debugbar:~3.2" --dev 命令出现的问题
安装 Debugbar
$ composer require "barryvdh/laravel-debugbar:~3.2" --dev
vagrant@homestead:~/Code/larabbs$ composer require "barryvdh/laravel-debugbar:~3.2" --dev
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
-
Installing maximebf/debugbar (v1.15.0): Loading from cache
proc_open(): fork failed - Cannot allocate memory
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troub... for details[ErrorException]
proc_open(): fork failed - Cannot allocate memory
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
vagrant@homestead:~/Code/larabbs$
第二次出现这个问题了。
推荐文章: