Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Incompatible with Magento 2.2.* #7

Open
stathis88k opened this issue Mar 13, 2018 · 1 comment
Open

Incompatible with Magento 2.2.* #7

stathis88k opened this issue Mar 13, 2018 · 1 comment
Assignees

Comments

@stathis88k
Copy link

Preconditions

  1. magento 2.2.1
  2. php 7.0.28

Steps to reproduce

  1. Run composer require magenerds/ldap "~2.0"

Expected result

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
   Installing magenerds/dashboard (1.0.4): Downloading (100%)         
   Installing magenerds/ldap (2.0.1): Downloading (100%)         
Package sjparkinson/static-review is abandoned, you should avoid using it. Use phpro/grumphp instead.
Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead.
Writing lock file
Generating autoload files

Actual result

./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 magento/zendframework1 (locked at 1.13.1) -> satisfiable by magento/zendframework1[1.13.1].
    - Conclusion: don't install magenerds/ldap 2.0.0
    - Conclusion: don't install magenerds/ldap 2.0.1|remove magento/framework 101.0.1
    - Conclusion: don't install magenerds/ldap 2.0.1|don't install magento/framework 101.0.1
    - Conclusion: don't install magenerds/ldap 2.0.1|don't install magento/framework 101.0.1
    - Installation request for magenerds/ldap ~2.0 -> satisfiable by magenerds/ldap[2.0.0, 2.0.1].
    - magenerds/ldap 2.0.1 requires magento/framework 100.0.*|100.1.* -> satisfiable by magento/framework[100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9, 100.1.0, 100.0.10, 100.0.11, 100.1.1, 100.0.12, 100.1.2, 100.1.3, 100.0.13, 100.1.4, 100.0.14, 100.1.5, 100.0.15, 100.1.6, 100.1.7, 100.0.16, 100.0.17, 100.1.8, 100.1.9, 100.0.18, 100.0.19, 100.1.10, 100.1.11, 100.0.20, 100.1.12].
    - Can only install one of: magento/framework[101.0.1, 100.1.0].
    - Can only install one of: magento/framework[101.0.1, 100.1.1].
    - Can only install one of: magento/framework[101.0.1, 100.1.2].
    - Can only install one of: magento/framework[101.0.1, 100.1.3].
    - Can only install one of: magento/framework[101.0.1, 100.1.4].
    - Can only install one of: magento/framework[101.0.1, 100.1.5].
    - Can only install one of: magento/framework[101.0.1, 100.1.6].
    - Can only install one of: magento/framework[101.0.1, 100.1.7].
    - Can only install one of: magento/framework[101.0.1, 100.1.8].
    - Can only install one of: magento/framework[101.0.1, 100.1.9].
    - Can only install one of: magento/framework[101.0.1, 100.1.10].
    - Can only install one of: magento/framework[101.0.1, 100.1.11].
    - Can only install one of: magento/framework[101.0.1, 100.1.12].
    - Can only install one of: magento/framework[101.0.1, 100.1.0].
    - Can only install one of: magento/framework[101.0.1, 100.1.1].
    - Can only install one of: magento/framework[101.0.1, 100.1.10].
    - Can only install one of: magento/framework[101.0.1, 100.1.11].
    - Can only install one of: magento/framework[101.0.1, 100.1.12].
    - Can only install one of: magento/framework[101.0.1, 100.1.2].
    - Can only install one of: magento/framework[101.0.1, 100.1.3].
    - Can only install one of: magento/framework[101.0.1, 100.1.4].
    - Can only install one of: magento/framework[101.0.1, 100.1.5].
    - Can only install one of: magento/framework[101.0.1, 100.1.6].
    - Can only install one of: magento/framework[101.0.1, 100.1.7].
    - Can only install one of: magento/framework[101.0.1, 100.1.8].
    - Can only install one of: magento/framework[101.0.1, 100.1.9].
    - Can only install one of: magento/framework[101.0.1, 100.0.2].
    - Can only install one of: magento/framework[101.0.1, 100.0.3].
    - Can only install one of: magento/framework[101.0.1, 100.0.4].
    - Can only install one of: magento/framework[101.0.1, 100.0.5].
    - Can only install one of: magento/framework[101.0.1, 100.0.6].
    - Can only install one of: magento/framework[101.0.1, 100.0.7].
    - Can only install one of: magento/framework[101.0.1, 100.0.8].
    - Can only install one of: magento/framework[101.0.1, 100.0.9].
    - Can only install one of: magento/framework[101.0.1, 100.0.10].
    - Can only install one of: magento/framework[101.0.1, 100.0.11].
    - Can only install one of: magento/framework[101.0.1, 100.0.12].
    - Can only install one of: magento/framework[101.0.1, 100.0.13].
    - Can only install one of: magento/framework[101.0.1, 100.0.14].
    - Can only install one of: magento/framework[101.0.1, 100.0.15].
    - Can only install one of: magento/framework[101.0.1, 100.0.16].
    - Can only install one of: magento/framework[101.0.1, 100.0.17].
    - Can only install one of: magento/framework[101.0.1, 100.0.18].
    - Can only install one of: magento/framework[101.0.1, 100.0.19].
    - Can only install one of: magento/framework[101.0.1, 100.0.20].
    - Can only install one of: magento/framework[101.0.1, 100.0.10].
    - Can only install one of: magento/framework[101.0.1, 100.0.11].
    - Can only install one of: magento/framework[101.0.1, 100.0.12].
    - Can only install one of: magento/framework[101.0.1, 100.0.13].
    - Can only install one of: magento/framework[101.0.1, 100.0.14].
    - Can only install one of: magento/framework[101.0.1, 100.0.15].
    - Can only install one of: magento/framework[101.0.1, 100.0.16].
    - Can only install one of: magento/framework[101.0.1, 100.0.17].
    - Can only install one of: magento/framework[101.0.1, 100.0.18].
    - Can only install one of: magento/framework[101.0.1, 100.0.19].
    - Can only install one of: magento/framework[101.0.1, 100.0.2].
    - Can only install one of: magento/framework[101.0.1, 100.0.20].
    - Can only install one of: magento/framework[101.0.1, 100.0.3].
    - Can only install one of: magento/framework[101.0.1, 100.0.4].
    - Can only install one of: magento/framework[101.0.1, 100.0.5].
    - Can only install one of: magento/framework[101.0.1, 100.0.6].
    - Can only install one of: magento/framework[101.0.1, 100.0.7].
    - Can only install one of: magento/framework[101.0.1, 100.0.8].
    - Can only install one of: magento/framework[101.0.1, 100.0.9].
    - Installation request for magento/framework (locked at 101.0.1) -> satisfiable by magento/framework[101.0.1].


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

The error occurs because of failed dependencies. M2.2.1 framework is 101.0.1.
So the composer.json should change to

.....................
"require": {
    .......................
    "magento/framework": "100.0.*|100.1.*"|101.0.*,
   .........................
  }

Can you please fix it?

@JSchlarb
Copy link
Contributor

Fixed by #10

@sydekumf sydekumf self-assigned this Sep 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants