Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring.の意味
What?
Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring.
と表示されて意味がわからん
$ composer remove laravelcollective/html Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "laravel/framework" is also a root requirement, but is not explicitly whitelisted. Ignoring. Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 0 installs, 0 updates, 1 removal - Removing laravelcollective/html (v5.4.1) Writing lock file Generating autoload files > Illuminate\Foundation\ComposerScripts::postUpdate > php artisan optimize [Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Collective\HTML\HtmlServiceProvider' not found Script php artisan optimize handling the post-update-cmd event returned with error code 1 Removal failed, reverting ./composer.json to its original content.
直訳: Dependency “laravel/framework” is also a root requirement, but is not explicitly whitelisted. Ignoring.
- 依存関係にある"laravel/framework"はrootの必須項目です。しかし、明示的にホワイトリストに入っていません。無視します。
-
- Composerではパッケージ更新時に引数として与えられる依存パッケージリストをホワイトリストと呼んでいる
- e.g.
$ composer update hoge fuga piyo
つまり、今回指定されたのは、
laravelcollective/html
だけで、明示的にlaravel/framework
が引数として指定されたわけではないので、laravel/framework
は消さないよ。ということです。