当前位置:Gxlcms > PHP教程 > 啊--刚入职,工程用laravel5

啊--刚入职,工程用laravel5

时间:2021-07-01 10:21:17 帮助过:5人阅读

= =从gitlab上clone下了工程,放到apache上跑,发现各种warning 各种缺少文件
Whoops, looks like something went wrong.

1/1
FatalErrorException in ProviderRepository.php line 150:
Class 'Illuminate\Broadcasting\BroadcastServiceProvider' not found
in ProviderRepository.php line 150

at FatalErrorException->__construct() in HandleExceptions.php line 131
at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 116
at HandleExceptions->handleShutdown() in HandleExceptions.php line 0
at ProviderRepository->createProvider() in ProviderRepository.php line 115
at ProviderRepository->compileManifest() in ProviderRepository.php line 59
at ProviderRepository->load() in Application.php line 468
at Application->registerConfiguredProviders() in RegisterProviders.php line 15
at RegisterProviders->bootstrap() in Application.php line 183
at Application->bootstrapWith() in Kernel.php line 199
at Kernel->bootstrap() in Kernel.php line 110
at Kernel->sendRequestThroughRouter() in Kernel.php line 84
at Kernel->handle() in index.php line 55
at {main}() in index.php line 0

这个是什么鬼?求各位大大帮助


回复讨论(解决方案)

说说我的历程- -,先把project从git上clone下来,然后放到wampserver中跑,提示缺少了个文件,然后从git上submodule update下来,然后再跑,缺少几个vendor文件里面的,我到处找也找不到,没办法只能从其他工程copy,看看能不能跑,然后就爆上面的错误了,我不太懂laravel啊,不过老板招了我我就得干活呀,虽然每天晚上都有自己搭laravel的项目,不过没有到这么高深的层次,要是工程都跑不起来, 上班第三天了我感觉我都是打酱油过的,求各位大大指教指教

Warning: require_once(C:\wamp\www\xxxxx\production\pre\public\heri/vendor/autoload.php): failed to open stream: No such file or directory in C:\wamp\www\xxxxxx\production\pre\public\heri\heri.php on line 8

这是我没copy vendor前的warning
来人呐= =

用composer的路过

得用composer

得用composer

谢谢你,是的,要用composer install 我还能问你些问题吗?

人气教程排行