N
N
Nikolai Vasin2017-07-19 18:44:35
Laravel
Nikolai Vasin, 2017-07-19 18:44:35

Why isn't the bootstrap folder created after running composer install?

I clone someone else's project from github, run composer install - the vendor folder is created, but the bootstrap folder is not. How to solve this problem?
The following error occurs when starting the project: Warning: require(...\public/../bootstrap/autoload.php): failed to open stream: No such file or directory in ....\public\index.php on line 22
Maybe you shouldn't add this folder to .gitignore? (even though it's wrong)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2017-07-19
@talam0nal

This folder should not be created. Yes, it should not be added to .gitignore, and this is just right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question