-
-
Notifications
You must be signed in to change notification settings - Fork 791
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
Packages versions conflict during composer installation #1457
Comments
I have the same problem. I can't install this bundle. I use php7.1 Symfony 4.2
|
I have the same problem with Symfony 3.4. I thought it was something else in the project and then I installed a new project and tried running When I run
However, if I run
|
This would be solved by addressing #1444 |
Executing this will probably solve the issue. At least it solved it for me :)
|
First package installed OK.
|
same error as voltel here, is there any workaround? |
I managed to solve it by modifying my
|
thanks filip-polic, it's work. |
Thar worked indeed. |
for me
|
@MaximePinto use this answer #1457 (comment) |
Created a PR to support HTTPlug 2.0 #1474 |
I used this solution instead:
|
Thanks! |
Thanks, it works 👍 . |
I needed to update php-http/guzzle6-adapter to v 2.0, so
but it failed with
As all of my other dependencies are compatible with either ^1.0 or ^2.0 of I did:
and then this to remove these dependencies from being direct dependencies looks to be fine |
composer require symfony/framework-bundle Problem 1 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. |
This is dump from the terminal, it's self explanatory:
D:\WebSites\ctx>composer require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
Using version ^0.6.3 for hwi/oauth-bundle
Using version ^2.0 for php-http/guzzle6-adapter
Using version ^1.13 for php-http/httplug-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for hwi/oauth-bundle ^0.6.3 -> satisfiable by hwi/oauth-bundle[0.6.3].
- hwi/oauth-bundle 0.6.3 requires php-http/httplug ^1.0 -> satisfiable by php-http/httplug[v1.0.0, v1.1.0].
- Can only install one of: php-http/httplug[v2.0.0, v1.0.0].
- Can only install one of: php-http/httplug[v2.0.0, v1.1.0].
- php-http/guzzle6-adapter v2.0.0 requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[v2.0.0].
- Installation request for php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0].
Installation failed, reverting ./composer.json to its original content.
The text was updated successfully, but these errors were encountered: