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 dependecy breaks install #246

Closed
zamson opened this issue Mar 5, 2020 · 4 comments
Closed

Composer dependecy breaks install #246

zamson opened this issue Mar 5, 2020 · 4 comments
Assignees
Labels
bug Something isn't working packagist Issue/Change relates to the packagist.org distribution of the WooGraphQL

Comments

@zamson
Copy link

zamson commented Mar 5, 2020

Describe the bug
Seems like a dependency breaks the composer package, please see error below:

To Reproduce
Steps to reproduce the behavior:

  1. Run composer require wp-graphql/wp-graphql

The error below is thrown:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for wp-graphql/wp-graphql-woocommerce ^0.4.4 -> satisfiable by wp-graphql/wp-graphql-woocommerce[v0.4.4].
    - Conclusion: remove firebase/php-jwt v4.0.0
    - Conclusion: don't install firebase/php-jwt v4.0.0
    - wp-graphql/wp-graphql-woocommerce v0.4.4 requires firebase/php-jwt ^5.0 -> satisfiable by firebase/php-jwt[v5.0.0, v5.1.0].
    - Can only install one of: firebase/php-jwt[v5.0.0, v4.0.0].
    - Can only install one of: firebase/php-jwt[v5.1.0, v4.0.0].
    - Installation request for firebase/php-jwt (locked at v4.0.0) -> satisfiable by firebase/php-jwt[v4.0.0].


@kidunot89
Copy link
Member

This is related to the wp-graphql/wp-graphql-jwt-authentication#76.

@kidunot89 kidunot89 added bug Something isn't working packagist Issue/Change relates to the packagist.org distribution of the WooGraphQL labels Mar 5, 2020
@kidunot89 kidunot89 self-assigned this Mar 5, 2020
@efoken
Copy link

efoken commented Mar 7, 2020

Also related to wp-graphql/wp-graphql-jwt-authentication#67

If all wp-graphql plugins should be compatible with each other as Composer dependency, we have to ensure that they all use same versions of vendor dependencies, i.e. firebase/php-jwt has to be wether ^5.0 or ^4.0 in all packages

@efoken
Copy link

efoken commented Apr 28, 2020

Should be fixed with wp-graphql/wp-graphql-jwt-authentication#84

I cannot reproduce this error anymore

@zamson
Copy link
Author

zamson commented May 14, 2020

I can also confirm it's now working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packagist Issue/Change relates to the packagist.org distribution of the WooGraphQL
Projects
None yet
Development

No branches or pull requests

3 participants