laravel-5 - 解决facade root has not been set

我已经在 cpanel 上上传了我的 laravel 应用程序,所以当我尝试访问该域时它显示此错误

fatal error :未捕获的 RuntimeException:尚未设置外观根。在/home/eswdistr/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:234 堆栈跟踪:#0/home/eswdistr/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(401): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array) #1/home/eswdistr/public_html/vendor/laravel/framework/src/Illuminate/Foundation 复制代码/Exceptions/Handler.php(378):Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths() #2/home/eswdistr/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(293 ): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)) #3/home/eswdistr/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/处理程序.php(190): Illuminate\Foundation\Exceptions\Handler->prepareResponse(对象(Illuminate\Http\Request), 对象(Symfony\Component\HttpKernel\Exception\HttpEx in/home/eswdistr/public_html/vend或者/laravel/framework/src/Illuminate/Support/Facades/Facade.php 234行

`

最佳答案

您没有上传供应商目录。

确保您已上传供应商文件夹。

https://stackoverflow.com/questions/62328102/

相关文章:

r - 在 R::multipanelfigure 中设置面板标签大小

flutter - 从 Flutter 应用程序中的 Firebase 实时数据库事件获取父节点

tensorflow - 物体检测损失不减少,AP增加

security - 如何在 asp.net core(本地)中保护 ConnectionStrin

amazon-web-services - 亚马逊电子病历 : do i need core nod

r - unnest_longer 给出美元符号而不是正常的 tibble

python - 如何在 jupyterlab 中更改内核的 Logo 图像

node.js - sqlite3 安装在 node 和 macos 上报错

reactjs - 如何在 recharts 中使用 .map 函数创建双轴线图

python - 使用 Python Click,如何添加超过 5 个选项,即超过 5 个?