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

Can't install because it requires oauth-client 1.0 but I have 2.0 #4

Closed
stevevance opened this issue Jul 6, 2017 · 7 comments
Closed

Comments

@stevevance
Copy link

stevevance commented Jul 6, 2017

I believe the solution is to change the requirement in your package's composer.json field to allow for league/oauth2-client of version 2.0 or greater, but I can't test that.

Using version ^2.0 for hayageek/oauth2-yahoo
./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
    - Conclusion: don't install hayageek/oauth2-yahoo 2.0.4
    - Conclusion: don't install hayageek/oauth2-yahoo 2.0.2
    - Conclusion: don't install hayageek/oauth2-yahoo 2.0.1
    - Conclusion: remove league/oauth2-client 2.2.1
    - Installation request for hayageek/oauth2-yahoo ^2.0 -> satisfiable by hayageek/oauth2-yahoo[2.0.0, 2.0.1, 2.0.2, 2.0.4].
    - Conclusion: don't install league/oauth2-client 2.2.1
    - hayageek/oauth2-yahoo 2.0.0 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2].
    - Can only install one of: league/oauth2-client[1.0.0, 2.2.1].
    - Can only install one of: league/oauth2-client[1.0.1, 2.2.1].
    - Can only install one of: league/oauth2-client[1.0.2, 2.2.1].
    - Can only install one of: league/oauth2-client[1.1.0, 2.2.1].
    - Can only install one of: league/oauth2-client[1.2.0, 2.2.1].
    - Can only install one of: league/oauth2-client[1.3.0, 2.2.1].
    - Can only install one of: league/oauth2-client[1.4.0, 2.2.1].
    - Can only install one of: league/oauth2-client[1.4.1, 2.2.1].
    - Can only install one of: league/oauth2-client[1.4.2, 2.2.1].
    - Installation request for league/oauth2-client (locked at 2.2.1) -> satisfiable by league/oauth2-client[2.2.1].


Installation failed, reverting ./composer.json to its original content.
@hayageek
Copy link
Owner

Let me test once.

@stevevance
Copy link
Author

@hayageek Have you been able to test it?

@hayageek
Copy link
Owner

hayageek commented Jul 21, 2017 via email

@tru10000
Copy link

tru10000 commented Aug 28, 2017

I'm experiencing the same issue. I already have League\OAuth2\Client\Provider\Google installed which also uses the league/oauth2-client

composer require hayageek/oauth2-yahoo
Using version ^2.0 for hayageek/oauth2-yahoo
./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
    - hayageek/oauth2-yahoo 2.0.4 requires league/oauth2-client ^1.0 -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
    - hayageek/oauth2-yahoo 2.0.2 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
    - hayageek/oauth2-yahoo 2.0.1 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
    - hayageek/oauth2-yahoo 2.0.0 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
    - Installation request for hayageek/oauth2-yahoo ^2.0 -> satisfiable by hayageek/oauth2-yahoo[2.0.0, 2.0.1, 2.0.2, 2.0.4].


Installation failed, reverting ./composer.json to its original content.

@elieobeid7
Copy link

Same here, same issue

@inkxe-radhanatha
Copy link

inkxe-radhanatha commented Oct 27, 2018

I am facing the same issue. I am using "league/oauth2-client": "^2.2".
Please help me.

composer require hayageek/oauth2-yahoo
Using version ^2.0 for hayageek/oauth2-yahoo
./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
- hayageek/oauth2-yahoo 2.0.4 requires league/oauth2-client ^1.0 -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
- hayageek/oauth2-yahoo 2.0.2 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
- hayageek/oauth2-yahoo 2.0.1 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
- hayageek/oauth2-yahoo 2.0.0 requires league/oauth2-client ^1.0@dev -> satisfiable by league/oauth2-client[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2] but these conflict with your requirements or minimum-stability.
- Installation request for hayageek/oauth2-yahoo ^2.0 -> satisfiable by hayageek/oauth2-yahoo[2.0.0, 2.0.1, 2.0.2, 2.0.4].

Installation failed, reverting ./composer.json to its original content.

@inkxe-radhanatha
Copy link

@hayageek Still I am facing the same issue. Can you please help me?

selection_015

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

5 participants