Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer require hyperf-admin/hyperf-admin error #51

Open
bufanyun opened this issue May 17, 2021 · 0 comments
Open

composer require hyperf-admin/hyperf-admin error #51

bufanyun opened this issue May 17, 2021 · 0 comments

Comments

@bufanyun
Copy link

[root@VM-4-16-centos hyperf-admin]# composer require hyperf-admin/hyperf-admin
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
Using version ^0.2.2 for hyperf-admin/hyperf-admin
./composer.json has been updated
Running composer update hyperf-admin/hyperf-admin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- endclothing/prometheus_client_php dev-master requires guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but the package is fixed to 7.3.0 (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.
- endclothing/prometheus_client_php[v1.0.0, ..., 1.0.1] require guzzlehttp/guzzle ^6.2 -> found guzzlehttp/guzzle[6.2.0, ..., 6.5.x-dev] but the package is fixed to 7.3.0 (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.
- hyperf/metric 2.1.x-dev is an alias of hyperf/metric dev-master and thus requires it to be installed too.
- hyperf-admin/hyperf-admin v0.2.2 requires hyperf/metric ~2.1.0 -> satisfiable by hyperf/metric[v2.1.0-beta1, ..., 2.1.x-dev (alias of dev-master)].
- hyperf/metric[dev-master, v2.1.0-beta1, ..., 2.1.x-dev] require endclothing/prometheus_client_php ^1.0 -> satisfiable by endclothing/prometheus_client_php[v1.0.0, 1.0.1, 1.0.x-dev (alias of dev-master)].
- endclothing/prometheus_client_php 1.0.x-dev is an alias of endclothing/prometheus_client_php dev-master and thus requires it to be installed too.
- Root composer.json requires hyperf-admin/hyperf-admin ^0.2.2 -> satisfiable by hyperf-admin/hyperf-admin[v0.2.2].

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.
[root@VM-4-16-centos hyperf-admin]#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant