Why “no such file or directory … autoload.php” when accessing Laravel app?

前端 未结 9 1318
梦毁少年i
梦毁少年i 2020-12-15 16:48

I am a newbie to Laravel, have been trying to install Laravel, wasted three hours unfortunately didn\'t work. When I access through public directory, I get these errors:

9条回答
  •  -上瘾入骨i
    2020-12-15 17:20

    This error indicates it can not find "autoload.php" under the vendor folder.

    Make sure the vendor folder is generated by running the "composer install" command and the autoload.php file also created.

提交回复
热议问题