我刚刚从Laravel 5.3迁移到5.4。
在当地,它运作正常。我做了一个"作曲家更新"一切正常。
所以,我合并为master,当我尝试使用" composer install"安装新的库时,
我有一个
PHP Fatal error: Uncaught ReflectionException: Class auth does not exist in /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:681
Stack trace:
#0 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): ReflectionClass->__construct('auth')
#1 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(565): Illuminate\Container\Container->build('auth')
#2 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(702): Illuminate\Container\Container->make('auth')
#3 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(1070): Illuminate\Foundation\Application->make('auth')
#4 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(159): Illuminate\Container\Container->offsetGet('auth')
#5 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(128): Illumin in /home/forge/my.kendozone.com/vendor/laravel/framework/src/ Illuminate/Container/Container.php on line 681
PHP Fatal error: Uncaught ReflectionException: Class auth does not exist in /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:681
Stack trace:
#0 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): ReflectionClass->__construct('auth')
#1 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(565): Illuminate\Container\Container->build('auth')
#2 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(702): Illuminate\Container\Container->make('auth')
#3 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(1070): Illuminate\Foundation\Application->make('auth')
#4 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(159): Illuminate\Container\Container->offsetGet('auth')
#5 /home/forge/my.kendozone.com/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(128): Illumin in /home/forge/my.kendozone.com/vendor/laravel/framework/src/. Illuminate/Container/Container.php on line 681
一般情况下,当出现这个不良消息时,这意味着我的某个配置文件出现问题,但在这里,我的所有文件在本地工作都很好,所以,我不知道在哪里寻找....
我试图评论config / app.php的每个提供商,但也没有工作。
我尝试将composer.json恢复为之前的版本,但仍然是同样的错误......
任何想法让我摆脱这个问题,我的高效应用程序是Down :(