artisan package:discover handling the post-autoload-dump event returned with error code 255 code example
Example 1: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
"extra": {
"laravel": {
"dont-discover": [
"laravel/dusk"
]
}
},
and also do composer update
Example 2: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Run composer update