Unifiedtransform icon indicating copy to clipboard operation
Unifiedtransform copied to clipboard

Class 'Laravel\Dusk\DuskServiceProvider' not found**

Open dhirraj opened this issue 5 years ago • 2 comments

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

dhirraj avatar May 18 '20 06:05 dhirraj

I shall look into it. Right now I would suggest to just change environment variable from 'local' to 'production' in .env file.

changeweb avatar May 18 '20 20:05 changeweb

Reporting that, I have experienced this error as well. Ubuntu 18, php-7.2

nfebe avatar Jul 14 '20 02:07 nfebe