新的项目在centos端git pull下来利用composer install 和 update 后运行会报错,请问是啥问题?
Fatal error: Uncaught ReflectionException: Class config does not exist in /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php:767 Stack trace: #0 /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php(767): ReflectionClass->__construct('config') #1 /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php(646): Illuminate\Container\Container->build('config') #2 /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php(601): Illuminate\Container\Container->resolve('config', Array) #3 /home/www/station/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\Container\Container->make('config', Array) #4 /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php(1210): Illuminate\Foundation\Application->make('config') #5 /home/www/station/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(443): Illuminate\Container\Container->offsetGet('config') #6 /home/www/statio in /home/www/station/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 767
有人说是.env里面有空格,可是我检查了,并没有空格
- 3 回答
- 0 关注
- 493 浏览
添加回答
举报
0/150
提交
取消