I have clone my project from heroku and am using wampserver and composer version 2. Can someone help me to understand why am I get this error.
In PackageManifest.php line 131:
Undefined index: name
Script @php artisan package:discover –ansi handling the post-autoload-dump event returned with error code 1
2
Answers
I think I had the exact same error the other day, and for me, the solution was to downgrade the composer with:
Don’t know if you will accept this as an answer, but that’s what worked for me.
The above step solves the issue.
I had same issue with my composer installer, after updating composer it works