fooman / printorderpdf-implementation-m2

5 stars 8 forks source link

Composer resolve issue with PHP 7.4 and Magento 2.4.2 #11

Closed Maksold closed 3 years ago

Maksold commented 3 years ago

I can't install module via composer2 require fooman/printorderpdf-m2 command.

Here is command execution result:

  Problem 1
    - magento/framework[101.0.0-rc21, ..., 101.0.4] require php 7.0.2|7.0.4|~7.0.6|~7.1.0 -> your php version (7.4.15) does not satisfy that requirement.
    - magento/framework[101.0.5, ..., 101.0.9] require php ~7.0.13|~7.1.0 -> your php version (7.4.15) does not satisfy that requirement.
    - magento/framework[102.0.0, ..., 102.0.2-p2] require php ~7.1.3||~7.2.0 -> your php version (7.4.15) does not satisfy that requirement.
    - magento/framework[102.0.3, ..., 102.0.5-p2] require php ~7.1.3||~7.2.0||~7.3.0 -> your php version (7.4.15) does not satisfy that requirement.
    - magento/framework 101.0.10 requires php ~7.0.13|~7.1.0|~7.2.0 -> your php version (7.4.15) does not satisfy that requirement.
    - magento/framework 101.0.11 requires php ~7.0.13||~7.1.0||~7.2.0 -> your php version (7.4.15) does not satisfy that requirement.
    - Root composer.json requires fooman/printorderpdf-m2 ^3.2 -> satisfiable by fooman/printorderpdf-m2[3.2.0].
    - fooman/printorderpdf-m2 3.2.0 requires magento/framework 101.0.0 - 101.0.11 | >=102.0.0 <102.0.6 | >=103.0.0 < 103.0.1 -> satisfiable by magento/framework[101.0.0-rc21, ..., 101.0.11, 102.0.0, ..., 102.0.5-p2, 103.0.0, 103.0.0-p1].
    - You can only install one version of a package, so only one of these can be installed: magento/framework[100.0.2, ..., 100.2.0-rc20, 101.0.0-rc21, ..., 101.0.11, 102.0.0, ..., 102.0.6-p1, 103.0.0, ..., 103.0.2].
    - magento/product-community-edition 2.4.2 requires magento/framework 103.0.2 -> satisfiable by magento/framework[103.0.2].
    - magento/product-community-edition is locked to version 2.4.2 and an update of this package was not requested.

I think the problem is in magento/framework. In my project is installed 103.0.2, but fooman/printorderpdf-m2 requires >=103.0.0 < 103.0.1.

@fooman Could you please fix it?

fooman commented 3 years ago

Can you please check that version 3.3.1 is accessible to you: https://github.com/fooman/printorderpdf-m2/blob/v3.3.1/composer.json that includes the 2.4.2 version