“Laravel packagemanifest.php: undefined Index: Name” Code-Antworten

In PackageManifest.php Zeile 131: undefined Index: Name Laravel 7

composer self-update --stable
Vivacious Vole

Laravel packagemanifest.php: undefined Index: Name

//THIS IS TEMPORARY FIX IF YOU DONOT WANT TO MODIFY COMPOSER.JSON OR COMPOSER.LOCK
Try this, it worked for me, in the following file:

vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
Find this line and comment it:

$packages = json_decode($this->files->get($path), true);
Add two new lines after the above commented line:

$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
Outrageous Ocelot

Ähnliche Antworten wie “Laravel packagemanifest.php: undefined Index: Name”

Fragen ähnlich wie “Laravel packagemanifest.php: undefined Index: Name”

Weitere verwandte Antworten zu “Laravel packagemanifest.php: undefined Index: Name” auf PHP

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen