1$installed = json_decode($this->files->get($path), true);
2$packages = $installed['packages'] ?? $installed;
3
1Try this, it is worked for me, in following file:
2
3vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
4
5Find this line and comment it
6
7$packages = json_decode($this->files->get($path), true);
8
9Add two new lines after above commented line
10
11$installed = json_decode($this->files->get($path), true);
12$packages = $installed['packages'] ?? $installed;