laravel-hackathon-starter
laravel-hackathon-starter copied to clipboard
Installation help needed for newbie
Hi guys,
Cloned the project and followed the installation instructions until
"php artisan key:generate"
PHP Warning: require(/var/www/html/hackathon-starter-pack/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/hackathon-starter-pack/bootstrap/autoload.php on line 17 PHP Fatal error: require(): Failed opening required '/var/www/html/hackathon-starter-pack/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/hackathon-starter-pack/bootstrap/autoload.php on line 17
bootstrap/audoload.php contains this code
require DIR.'/../vendor/autoload.php';
I'm not able to locate the vendor folder within this project.
How can I solve this?
Have you done composer install?
Run composer install
from your command line in your root directory
I run this before I install composer
sudo apt-get install php5.6-curl
It works now thanks.
Following the readme instructions I too got this issue on macOS, so the apt-get
suggested solution doesn't work for me.
The composer install command comes after this one according to the readme.
Running composer install
does fix the issue of then running php artisan key:generate
. Looks like a readme documentation error to fix ?