laracasts / Laravel-OAuth-and-Socialite

55 stars 32 forks source link

Doesn't Run #2

Open Gittinhub opened 9 years ago

Gittinhub commented 9 years ago

After downloading it, "php artisan server.php" returns: PHP Warning: require(/var/www/html/socialite/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/socialite/bootstrap/autoload.php on line 17 PHP Stack trace: PHP 1. {main}() /var/www/html/socialite/artisan:0 PHP 2. require() /var/www/html/socialite/artisan:16 PHP Fatal error: require(): Failed opening required '/var/www/html/socialite/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/socialite/bootstrap/autoload.php on line 17 PHP Stack trace: PHP 1. {main}() /var/www/html/socialite/artisan:0 PHP 2. require() /var/www/html/socialite/artisan:16

Braunson commented 7 years ago

You need to run composer install and if that still doesn't work composer dump-autoload

Also the command is php artisan serve (not server.php`