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"
],
Hi,
Sorry, not node_modules. It's a vendor folder.
Thanks
still encounter the same error Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 25
Could you please try to remove composer.lock file as well?
Thanks
already remove that and vendor folder
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
where can I find the node_modules ?