我无法安装作曲家 magento/extension-b2b

I can't composer install magento/extension-b2b

感谢浏览。

我使用“magento-ce-2.4.0-2020-07-24-11-08-21”。

我想使用 magento/extension-b2b

但是,我收到了这条错误消息。

  [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??

您不能使用扩展,因为您没有提供所有参数。 基于 https://devdocs.magento.com/guides/v2.3/comp-mgr/module-man/compman-checklist.html 以及您提供的问题的详细信息,您收到此异常的原因是因为您未能完成列出的任何一项..

  1. 包的先决条件
  2. 模块管理器清单

*这两个步骤列表都记录在您提供的 link 中。

正如您在问题评论中提到的,供应商要求您设置服务器,因为许多先决条件活动涉及 运行 操作系统命令 (CLi)

然后您可以启动组件管理器,或升级系统。 这似乎是该软件包的用途。