Require vendor/autoload.php | (after) CLONING GitHub REPO | Laravel 9/8

preview_player
Показать описание
GitHub beginners, Common Errors while working GitHub.

0:00 introduction
1:35 open GitHub Repo
2:30 clone a GitHub Repo
10:50 500 | Server Error localhost:8000 / | .env file missing
12:10 Generate app key in Laravel
12:40 summary | outro

---------------------------------------------------------------------------------------------------------------------------

After cloning a Laravel GitHub repo. Usually, the vendor folder is ignored when the repo is uploaded to GitHub, so when you clone the repo you need to run the composer update command in order to create the vendor folder with all the project dependencies.

Now after the command completes running the project will start running Laravel artisan commands but you'll be met with a 500 | server error when you try to access different routes. the reason for this is that the project does not have a .env file, you'll have to generate it.

Finally, you should generate the App_key for your project.

happy Coding.
---------------------------------------------------------------------------------------------------------------------------
Please make sure you like Subscribe and follow me on socials for more content

Рекомендации по теме
Комментарии
Автор

Thank you, I had this problem and with this video I managed to solve it. Thank you very much!

mzdevelopment
Автор

Hello why is it said the term 'composer' is not recognized?

evisya