I'm deploying my Laravel application and want to optimize the autoload, normally I would run the command
composer install --optimize-autoloader --no-dev
This is an application that runs Laravel 5.8. I am getting the following error:
In Application.php line 662: Class 'BeyondCode\DumpServer\DumpServerServiceProvider' not found
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1