Closed allrude closed 4 years ago
Have same issue
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.
Could you try this? composer require yireo/magento2-replace-all:2.3.2 --no-update
. Next, remove all vendor
contents and run composer install
.
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].
@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.
Hi @jissereitsma, Could you have a look at the PR and let me know what you think?
Closing because of new approach
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:`