网站首页 / 资讯 / Magento教程/ Magento2.x教程

M2运行SHELL命令时提示require composer-runtime-api

作者:admin
] require composer-runtime-api ^2.2 -> found composer-runtime-api[2.1.0] but it does not match the constraint [duplicate]


这时只需要升级一下您的composer 到最新版本,用以下命令行

composer clearcache
composer selfupdate

如果不满意想降级,那么可以使用命令行

 composer selfupdate --1


标签:
上一篇:奇怪的小知识: M2.4.7 P5版本在后台编辑产品时无法保存
下一篇:M2.x新安装时出现Class "Magento\Elasticsearch7\Model\Client\ClientBuilder" not found#0

相关内容

最近更新
相关产品
综合服务邮箱: magento2#foxmail.com