I am working with Laravel5.4. When I use socialite package to login with Facebook, I need to add this line of
Schema::defaultStringLength(191);
<
Fix Capitalize Error and replace:
use Illuminate\Support\facades\Schema;
with
use Illuminate\Support\Facades\Schema;
The reason it might work on local and not work on server is that probably you're using windows locally, and Linux hosting account which is case-sensitive regarding the paths and filenames