Target [Laravel\Socialite\Contracts\Factory] is not instantiable.
I came across this error when trying to get Laravel to login with GitHub using the Socialite package.
To fix this you might have forgotten to add the service provider for the package.
So add this to config/app.php
'Socialize' => 'Laravel\Socialite\SocialiteServiceProvider'
Then it should work.