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

前端 未结 9 1345
梦毁少年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条回答
  •  渐次进展
    2020-12-15 16:58

    I had same problem on Windows(Also works for Mac).

    Solution:

    1. Install composer
    2. Open cmd
    3. Navigate to your laravel application root
    4. Run composer install command in cmd

    Done!

提交回复
热议问题