Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255 ERROR: 255 code example
Example: 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