require(vendor/autoload.php): failed to open stream

前端 未结 16 1430
梦毁少年i
梦毁少年i 2020-11-29 18:02

I know that this issue has been posted many times, but for me it seems to be a different problem.

Indeed, this error

Warning: require(vendor/autol

16条回答
  •  遥遥无期
    2020-11-29 18:35

    First, review route inside index.php

    require __DIR__.'/../vendor/autoload.php';
    
    $app = require_once __DIR__.'/../bootstrap/app.php';
    

    in my case the route did not work, I had to review the directories.

提交回复
热议问题