Laravel PackageManifest.php: Undefined index: name
In PackageManifest.php line 122: Undefined index: name
Solution :
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;
Resource : https://stackoverflow.com/questions/61177995/laravel-packagemanifest-php-undefined-index-name
No comments:
Post a Comment