【发布时间】:2020-11-24 06:53:36
【问题描述】:
感谢您的浏览。
我使用“magento-ce-2.4.0-2020-07-24-11-08-21”。
但是,我收到了这条错误消息。
[InvalidArgumentException]
Could not find a matching version of package magento/extension-b2b. Check the package spelling, your version constr
aint and that the package is available in a stability which matches your minimum-stability (stable).
我读到了https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html。 我制作了文件“C:/Users/USER_NAME/AppData/Roaming/Composer/auth.json”。
{
"http-basic": {
"repo.magento.com": {
"username": "MY_PUBLIC_KEY",
"password": "MY_PRIVATE_KEY"
}
}
}
为什么我不能使用 magento/extension-b2b??
【问题讨论】:
-
你运行过 Magento 命令吗?
-
@MaryNfs 我不知道“Magento 命令”。 devdocs.magento.com/extensions/b2b 中未列出“Magento 命令”。我该怎么办?
-
“Magento 命令”是指“bin/magento”之类的命令。这个链接可能对你有帮助github.com/magento/magento2/issues/14709#issuecomment-460243729
-
我阅读了这份文件devdocs.magento.com/guides/v2.4/install-gde/…。也许我需要一个用于 CLI 安装的服务器?!?
-
听起来你应该联系 Magento 的支持人员
标签: php composer-php magento2