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

php artisan fails on Ubuntu #23

Open
noahc66260 opened this issue Nov 21, 2018 · 1 comment
Open

php artisan fails on Ubuntu #23

noahc66260 opened this issue Nov 21, 2018 · 1 comment

Comments

@noahc66260
Copy link

noahc66260 commented Nov 21, 2018

(From readme in chapter 5)
$ php artisan migrate

PHP Warning: require(/home/noah/build-apis-you-wont-hate/chapter5/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/noah/build-apis-you-wont-hate/chapter5/bootstrap/autoload.php on line 17
PHP Fatal error: require(): Failed opening required '/home/noah/build-apis-you-wont-hate/chapter5/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/noah/build-apis-you-wont-hate/chapter5/bootstrap/autoload.php on line 17

The file chapter5/bootstrap/autoload.php has the line

require DIR.'/../vendor/autoload.php';

but it doesn't exist.

@philsturgeon
Copy link
Collaborator

Did you run composer install ?

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

2 participants