When I want to deploying my app to production. I simply run
composer install --no-dev --optimize-autoloader
Which will result an error.
In TelescopeServiceProvider.php line 10: Class 'Laravel\Telescope\TelescopeApplicationServiceProvider' not found
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
composer install- Kamlesh Paul