Skip to content
Advertisement

Laravel PackageManifest.php line 131: Undefined index: name

I updated the composer with this command:

JavaScript

It was updated to version 2.0.4. Then when I tried to launch my Laravel project using:

JavaScript

I got this error:

JavaScript

I tried getting back to the old version of the composer with this:

JavaScript

The composer was downgraded to version 1.9.3, but it didn’t help with the error. Then I used this command to update the composer again:

JavaScript

And still got the same error.

This is the line 131 of the PackageManifest.php file:

JavaScript

Advertisement

Answer

First, you should check again version after using composer self-update. Then, you try composer update. Finally, you run php artisan serve.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement