I'm following this tutorial to install Laravel correctly and I am up to just before part 2 starts. The command php artisan serve
that needs to be run chucks out the following error:
PHP Fatal error: Class 'Illuminate\Remote\RemoteServiceProvider' not found in /vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123 {"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Class 'Illuminate\Remote\RemoteServiceProvider' not found","file":"/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php","line":123}}
Line 123 is shown below:
public function createProvider(Application $app, $provider)
{
return new $provider($app); // This is line 123
}
I previously had this issue and resolved it by removing the 'scripts' section of my composer.json
but now the error is appearing with it being there!