Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation help needed for newbie #43

Open
enthuseuser opened this issue Mar 10, 2018 · 3 comments
Open

Installation help needed for newbie #43

enthuseuser opened this issue Mar 10, 2018 · 3 comments

Comments

@enthuseuser
Copy link

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?

@remade
Copy link

remade commented Mar 10, 2018

Have you done composer install?
Run composer install from your command line in your root directory

@enthuseuser
Copy link
Author

I run this before I install composer

sudo apt-get install php5.6-curl

It works now thanks.

@budda
Copy link
Contributor

budda commented Dec 28, 2018

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants