The VM is running out of memory when invoking composer dependency installation. This is because the VM is only given 1GB of memory.
This causes the composer process to terminate prematurely, causing some dependencies to not be installed.
Proposed Solution
Add a swap file. The memory specified in the Vagrantfile can remain set to 1GB. A swap file can be created so that the VM can utilize it whenever it runs low on memory.
Problem
The VM is running out of memory when invoking composer dependency installation. This is because the VM is only given 1GB of memory.
This causes the composer process to terminate prematurely, causing some dependencies to not be installed.
Proposed Solution
Add a swap file. The memory specified in the
Vagrantfile
can remain set to 1GB. A swap file can be created so that the VM can utilize it whenever it runs low on memory.