composer require webman console 问题

duo8668
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - webman/console[v1.0.0, ..., v1.0.5] require symfony/console ^5.0 -> found symfony/console[v5.0.0, ..., v5.4.3] but the package is fixed to v6.0.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires webman/console ^1.0 -> satisfiable by webman/console[v1.0.0, ..., v1.0.5].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require webman/console:*" to figure out if any version is installable, or "composer require webman/console:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

因为 webman/console 里面的依赖是 symfony/console:^5.0 但是 laravel 的 illuminate 是用的 ^6.0。 有哪位知道这个应该怎么处理还是官网这里能够升级 console 版本?

1565 1 0
1个回答

walkor 打赏

webman/console 更新了依赖,请重新试下。

年代过于久远,无法发表回答
×
🔝