I am trying to install laravel/ui package using composer and I am facing this error:
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 127
I tried to add this line to the composer.json file:
"extra": {
"laravel": {
"dont-discover": [
"laravel/ui",
]
}
},
But it is not working