Why does laravel get an application error

Viewed 710

In the windows 10 operating system I installed a homestead laravel for project deployment.

After I worked in a vagrant homestead virtual machine, I ran the command vagrand halt

The next day I launched a homestate with the command vagrant up

I connected via SSH to the homestead virtual machine, enter the command php artisan and get the error:

In LoadConfiguration.php line 68:

Unable to load the "app" configuration file.

When opening the site, the error is as follows:

Fatal error: Uncaught RuntimeException: A facade root has not been set. in /home/vagrant/code/projects/forum/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 234

RuntimeException: A facade root has not been set. in /home/vagrant/code/projects/forum/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 234

1 Answers
Related