Skip to content

composer showing Problem during version upgrade from 2.3.6 to 2.4.7-p1

during upgrad the Magento, i upgraded all plugins version to be compatible with the new version and with PHP8.3, I also deleted unnecessary plugins,and add some from 2.4.7-p1 composer,

i get 1 problem while running the following command:

composer2 update

or:

(composer2 update –no-plugins –with-all-dependencies)

i get: Problem 1
– magento/magento2ce is present at version 2.3.6-p1 and cannot be modified by Composer
– magento/product-community-edition 2.4.7-p1 requires magento/magento2-base 2.4.7-p1 -> satisfiable by magento/magento2-base[2.4.7-p1].
– magento/magento2-base[2.4.7-p1] cannot be installed as that would require removing magento/magento2ce[2.3.6-p1]. They both replace trentrichardson/jquery-timepicker-addon and thus cannot coexist.
– Root composer.json requires magento/product-community-edition 2.4.7-p1 -> satisfiable by magento/product-community-edition[2.4.7-p1].

knowing that magento/magento2ce is the name in the beginning inside composer.jason file not plugin,

"name": "magento/magento2ce",

and there is no “magento/magento2-base” in composer but its showing in command problem

hp