Open dhirraj opened 4 years ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: In Prod env after running the following commands : composer install --optimize-autoloader --no-dev
It gives an error :
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover
In Application.php line 690: Class 'Laravel\Dusk\DuskServiceProvider' not found Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Expected behavior It should not give any error
I shall look into it. Right now I would suggest to just change environment variable from 'local' to 'production' in .env file.
Reporting that, I have experienced this error as well. Ubuntu 18, php-7.2
Ubuntu 18
php-7.2
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: In Prod env after running the following commands : composer install --optimize-autoloader --no-dev
It gives an error :
In Application.php line 690: Class 'Laravel\Dusk\DuskServiceProvider' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Expected behavior It should not give any error