Closed allella closed 1 month ago
This autoloading was added before we decided to allow Telescope to be run based on configuration.
Since we use composer install --no-dev on stage and production, Telescope is not installed and this would cause a composer error as previously documented.
Fixeds the Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 Composer issue.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Merged this to fix a breaking deploy.
If there's a better solution, then please holler. Though, it did fix the error and seems to be a logical addition to #242
242 now loads app/Providers/AppServiceProvider.php if Telescope is enabled in the .env environment variables.
This autoloading was added before we decided to allow Telescope to be run based on configuration.
Since we use composer install --no-dev on stage and production, Telescope is not installed and this would cause a composer error as previously documented.
Fixeds the
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Composer issue.