yireo / magento2-replace-all

Meta-package to replace all optional Magento 2 modules
129 stars 33 forks source link

Error on 2.3.2 #2

Closed allrude closed 4 years ago

allrude commented 5 years ago

On a clean install of Magento 2.3.2 i get a error on;

composer require yireo/magento2-replace-all:2.3.2

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

running composer require yireo/magento2-replace-all:2.3.1 on the same clean install works but ...

running setup:upgrade after that give's us this nice error;

`Class Magento\InventoryReservationsApi\Model\AppendReservationsInterface does not exist

In ClassReader.php line 35:`

hanhpv commented 5 years ago

Have same issue

LaurensGoedel commented 5 years ago

Same version, different error:

-bash-4.2$ composer require yireo/magento2-replace-all:2.3.2
./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
    - don't install yireo/magento2-replace-graphql 2.3.2|don't install yireo/magento2-replace-core 2.3.2
    - yireo/magento2-replace-all 2.3.2 requires yireo/magento2-replace-core 2.3.2 -> satisfiable by yireo/magento2-replace-core[2.3.2].
    - yireo/magento2-replace-all 2.3.2 requires yireo/magento2-replace-graphql 2.3.2 -> satisfiable by yireo/magento2-replace-graphql[2.3.2].
    - Installation request for yireo/magento2-replace-all 2.3.2 -> satisfiable by yireo/magento2-replace-all[2.3.2].

Installation failed, reverting ./composer.json to its original content.
jissereitsma commented 5 years ago

Could you try this? composer require yireo/magento2-replace-all:2.3.2 --no-update. Next, remove all vendor contents and run composer install.

n0kit31 commented 5 years ago

Hi @jissereitsma I think that your solution, which works indeed, is only a workaround. Next time you will hit composer update there is still requirements issue:

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

  Problem 1
    - don't install yireo/magento2-replace-graphql 2.3.2|don't install yireo/magento2-replace-core 2.3.2
    - yireo/magento2-replace-all 2.3.2 requires yireo/magento2-replace-core 2.3.2 -> satisfiable by yireo/magento2-replace-core[2.3.2].
    - yireo/magento2-replace-all 2.3.2 requires yireo/magento2-replace-graphql 2.3.2 -> satisfiable by yireo/magento2-replace-graphql[2.3.2].
    - Installation request for yireo/magento2-replace-all 2.3.2 -> satisfiable by yireo/magento2-replace-all[2.3.2].
nocturnalfrog commented 5 years ago

@jissereitsma,

It looks lik @n0kit31 is right; there are some issues with this workaround. I can confirm that it doesn't work on a fresh composer install for instance.

nocturnalfrog commented 5 years ago

Hi @jissereitsma, Could you have a look at the PR and let me know what you think?

jissereitsma commented 4 years ago

Closing because of new approach