错误时,安装包在laravel通过composer (laravel/scout)


composer require laravel/scout
Using version ^9.2 for laravel/scout
./composer.json has been updated
Running composer update laravel/scout
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- orchid/platform is locked to version 9.21.0 and an update of this package was not requested.
- orchid/platform 9.21.0 requires laravel/scout ^8.5 -> found laravel/scout[v8.5.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.2).
Problem 2
- orchid/platform 9.21.0 requires laravel/scout ^8.5 -> found laravel/scout[v8.5.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.2).
- leshkens/orchid-tinymce-field v1.0.0 requires orchid/platform ^8.0|^9.0 -> satisfiable by orchid/platform[9.21.0].
- leshkens/orchid-tinymce-field is locked to version v1.0.0 and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.

请帮助! !

据我所知,您已经在v9.21.0中使用orchid/platform了。这个版本在v8.5中已经需要laravel/scout,但是它不允许安装Scout v9。

如果您确实需要Scout v9,您必须将orchid/platform升级到v10.2.1或更高版本。

最新更新