サイドバー

このページの翻訳:



最近の更新



Tag Cloud

50_dialy:2021:03:01

2021.03.01 Composer 2.0 でエラー

2021.02.24 Composer 2.0

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In PackageManifest.php line 122:
                         
  Undefined index: name  
                         

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

In PackageManifest.php line 122:
                         
  Undefined index: name

対応

結局composerをversion 1 に戻した

# composer self-update --1
Warning: You forced the install of 1.10.20 via --1, but 2.0.11 is the latest stable version. Updating to it via composer self-update --stable is recommended.
Upgrading to version 1.10.20 (1.x channel).
   
Use composer self-update --rollback to return to version 2.0.10

# composer --version
Composer version 1.10.20 2021-01-27 15:41:06
50_dialy/2021/03/01.txt · 最終更新: 2021/03/01 12:28 by matsui