Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 on ubuntu code example
Example 1: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
"extra": {
"laravel": {
"dont-discover": [
"laravel/dusk"
]
}
},
and also do composer update
Example 2: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
updating in file vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;