I'm trying to use the metronic 7, demo 1 laravel version and an error error Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255 appeared when I do composer install
Hi,
Please try to remove this part from composer.json file.
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
], still encounter the same error Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 25
Hi,
Please check if you have using PHP v8. Remove node_modules folder and remove the package-lock.json file. Then please retry with the "composer install".
Thanks