Skip to content

hyperf 2.1框架安装sdk报这个错,使用--with-all-dependencies (-W),可以安装,但是框架就无法在控制台使用control+c退出 #397

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

Closed
janji404 opened this issue Nov 3, 2022 · 3 comments

Comments

@janji404
Copy link

janji404 commented Nov 3, 2022

Problem 1
- Root composer.json requires qiniu/php-sdk ^7.7 -> satisfiable by qiniu/php-sdk[v7.7.0].
- qiniu/php-sdk v7.7.0 requires myclabs/php-enum 1.6.6 -> found myclabs/php-enum[1.6.6] but the package is fixed to 1.8.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.

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 qiniu/php-sdk:*" to figure out if any version is installable, or "composer require qiniu/php-sdk:^2.1" if you know which you need.

@janji404
Copy link
Author

janji404 commented Nov 3, 2022

image

1 similar comment
@janji404
Copy link
Author

janji404 commented Nov 3, 2022

image

@janji404
Copy link
Author

janji404 commented Nov 3, 2022

已解决:composer require myclabs/php-enum 1.6.6
使用此命令更新本地的php-enum包版本

@janji404 janji404 closed this as completed Nov 3, 2022
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