composer install 报错Script @php artisan package:discover --ansi handling the post-autoload-dump event

1.可能是composer.lock中没有记录的第三方扩展,但是已经创建了服务提供者provider等,

2.在

vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php文件中将
$installed = json_decode($this->files->get($path), true);
$packages = $installed['packages'] ?? $installed;
 
 

你可能感兴趣的:(composer install 报错Script @php artisan package:discover --ansi handling the post-autoload-dump event)