I am currently trying to clone an existing project of mine from github. After clone I run composer install during the process I receive the following error:
EDIT::
Because I wasn't satisfied with the rather clumsy debugging and reworking paths, etc to get the VM running smoothly, I reflected on the process and reinstalled the vagrant box laravel/homestead (virtualbox 1.0.1)
For me the issue potentially stemmed from a missing comma in config/app.php. The missing comma likely halted the compilation process and spit out the Uncaught ReflectionException: Class log does not exist error.
This is not a direct answer, but serves more as a guide post to those who venture into this abyss of silent errors
System: macOS Sierra
Vagrant: 1.9.1 (Latest Version at time of writing)
VM: laravel/homestead (virtualbox 0.4.0)
Laravel Version: 5.1.*
PHP: 7.0.*
After repeated attempts to resolve the issue which include:
Critically, (for me) it seemed it was the virtualbox version in the initial set up:
vagrant box add laravel/homestead
Instead try supplying the version number like so:
vagrant box add laravel/homestead --box-version 0.4.0
misc:
I have attempted and failed with the following laravel/homestead virtualbox versions:
1.0.1 (default)and laravel/homestead-7:
0.2.1