'Return value of Magento\ComposerRootUpdatePlugin\Updater\RootPackageRetriever::getOriginalEdition() must be of the type string, null returned
We are upgrading magento2.4.3 to 2.4.4 using
composer require-commerce magento/product-community-edition:2.4.4
also tried with --no-update
unfortunately, we are facing an issue with the error
Return value of Magento\ComposerRootUpdatePlugin\Updater\RootPackageRetriever::getOriginalEdition() must be of the type string, null returned
Solution 1:[1]
Following the official guide:
I understood the right command to run:
composer require magento/composer-root-update-plugin ~2.0 --no-update
then you can run the command with 2 params:
base-project-edition and base-project-version
for example:
composer require-commerce magento/product-community-edition 2.4.4 --no-update --base-project-edition 'Open Source' --base-project-version 2.4.2
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |