更新Magento2版本2.4.2至2.4.3问题
我正在尝试使用以下步骤更新Magento,
- 需要Magento/product-enterprise-edition = 2.4.3 - composer.json Archive上的不及时。
- 运行作曲家更新
,我有这些问题
问题1
-Magento/project-enterprise-edition在版本2.4.2上存在,并且无法通过Composer
修改/product-enterprise-edition 2.4.3需要顶点/product-magento-Module-Commerce 4.2.1 - >通过Vertexinc/product-Magento-Module-commerce [4.2.1]
。 - Enterprise-Edition [2.4.2]。他们都取代了顶点/产品 - 马根托托模型 - 商务,因此无法共存。
- root composer.json需要Magento/product-entererprise-edition-edition 2.4.3 - >通过Magento/product-enterprise-edition [2.4.3]。
是否有任何想法如何解决此问题?
谢谢!
i am trying to update Magento with the following steps
- composer require magento/product-enterprise-edition=2.4.3 --no-update on composer.json archive.
- run composer update
And i have these problems
Problem 1
- magento/project-enterprise-edition is present at version 2.4.2 and cannot be modified by Composer
- magento/product-enterprise-edition 2.4.3 requires vertexinc/product-magento-module-commerce 4.2.1 -> satisfiable by vertexinc/product-magento-module-commerce[4.2.1].
- vertexinc/product-magento-module-commerce[4.2.1] cannot be installed as that would require removing magento/project-enterprise-edition[2.4.2]. They both replace vertex/product-magento-module-commerce and thus cannot coexist.
- Root composer.json requires magento/product-enterprise-edition 2.4.3 -> satisfiable by magento/product-enterprise-edition[2.4.3].
Any idea how to solve this problem?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
乍一看,我要说的是,当您进行
作曲家需要-no-update [ - ] Magento/product-enterprise-edition = 2.4.3
明确不做任何更新,企业版将锁定到2.4.2版。然后,运行
Composer Update
没有更新它,从而导致了报告的首要问题(看来导致我,所有其他问题都是由IT引起的):这是我自己的理解,是因为它无法修改的原因Composer 是因为
Magento/Project-Enterprise-Edition
IS 锁定2.4.2
。尝试运行:
明确更新该软件包。
(我不能说 - 因为您没有在您的问题中分享 - 为什么您确实运行了
Composer需要
- no-update
,只是用<代码> - 没有更高的锁定文件未更新,似乎正在使用,并且在固定magento/project-enterprise-edition
to [以上!]版本<代码> 2.4.2 - 您要 更新2.4.3
[!])。此外,运行
作曲家更新 - 依赖性agento/project-enterprise-edition
或作曲家更新-with-with-with-with-All Dectiencies magento/project-enterprise-edition
可能是有助于升级后续问题以使依赖关系更新命令更具绑定。摘录摘自
作曲家更新-Help
(作曲家版本2.1.11 2021-11-02 12:10:2):根本要求是您的
Composer。{JSON,lock}
文件。On first glance I'd say that while you do the
composer require --no-update [--] magento/product-enterprise-edition=2.4.3
explicitly not doing any updates, the original Magento Enterprise Edition is kept locked to version 2.4.2.Then running
composer update
is not updating it, resulting into the foremost problem reported (it looks leading to me, that all other problems are caused by it):It is my own understanding that the reason it cannot be modified by Composer is because
magento/project-enterprise-edition
is locked to2.4.2
.Try running:
to update that package explicitly.
(I can't say - as you did not share in your question - why you did run the
composer require
with--no-update
, it is just that with--no-update
the lock file is not updated and it seems that it is in use and further on pinningmagento/project-enterprise-edition
to [previous!] version2.4.2
- you want to update to2.4.3
[!]).Additionally, running
composer update --with-dependencies magento/project-enterprise-edition
orcomposer update --with-all-dependencies magento/project-enterprise-edition
may be useful to escalate follow-up issues to make the dependency update command more binding. Excerpt from
composer update --help
(Composer version 2.1.11 2021-11-02 12:10:2):Root requirements are those in your
composer.{json,lock}
file.