magento / magento2-upward-connector

Magento module for routing front-end requests to UPWARD-PHP
Open Software License 3.0
24 stars 25 forks source link

Solved: laminas/laminas-stdlib conflicts with zendframework/zend-stdlib #35

Closed coresh closed 3 years ago

coresh commented 3 years ago
$ php --version
PHP 7.4.22 (cli) (built: Jul 27 2021 18:08:31) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
$ php magento --version
Magento CLI 2.4.3

Executing:

$ php /usr/local/bin/composer.phar require magento/module-upward-connector

Result:

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

  Problem 1
    - Root composer.json requires magento/module-upward-connector ^1.2 -> satisfiable by magento/module-upward-connector[1.2.0].
    - magento/upward 1.1.5 requires zendframework/zend-stdlib ^2.7 || ^3.2 -> satisfiable by zendframework/zend-stdlib[2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 3.2.0, 3.2.1].
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 3.2.1.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 3.2.0.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.7.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.6.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.5.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.4.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.3.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.2.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.1.
    - laminas/laminas-stdlib 3.5.0 conflicts with zendframework/zend-stdlib 2.7.0.
    - magento/product-community-edition 2.4.3 requires laminas/laminas-stdlib ^3.2.1 -> satisfiable by laminas/laminas-stdlib[3.5.0].
    - magento/module-upward-connector 1.2.0 requires magento/upward ^1.1.5 -> satisfiable by magento/upward[1.1.5].
    - magento/product-community-edition is locked to version 2.4.3 and an update of this package was not requested.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
coresh commented 3 years ago

Appended details:

$ php /usr/local/bin/composer.phar --version
Composer version 2.1.5 2021-07-23 10:35:47
coresh commented 3 years ago

Solution:

Appending flag:

--with-all-dependencies
$ php /usr/local/bin/composer.phar -vvv --with-all-dependencies require magento/module-upward-connector