composer require -W webman/admin报错

sunflower

问题描述

composer require -W webman/admin报错,如何解决

程序代码

./composer.json has been updated
Running composer update webman/admin --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - webman/admin[v0.5.0, ..., v0.6.28] require illuminate/database >=7.30 -> found illuminate/database[v7.30.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.12, v11.0.0, ..., v11.10.0] but it co
nflicts with your root composer.json require (^5.8).
    - Root composer.json requires webman/admin * -> satisfiable by webman/admin[v0.5.0, ..., v0.6.28].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require webman/admin:*" to figure out if any version is installable, or "composer require webman/admin:^2.1" if you know which you need
.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
425 1 0
1个回答

six

看提示是你本地composer.json 写死了 illuminate/database 版本 ^5.8,版本太低了。

执行 composer reuqire illuminate/database 升级 illuminate/database

然后在装admin试下吧

  • 暂无评论
×
🔝