简体   繁体   中英

I can't composer install magento/extension-b2b

Thank you for browsing.

I use "magento-ce-2.4.0-2020-07-24-11-08-21".

And I want to use magento/extension-b2b .

But, I got this error message.

  [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).

I read https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html . I made file "C:/Users/USER_NAME/AppData/Roaming/Composer/auth.json".

{
   "http-basic": {
      "repo.magento.com": {
         "username": "MY_PUBLIC_KEY",
         "password": "MY_PRIVATE_KEY"
      }
   }
}

Why I can't use magento/extension-b2b??

You can't use the extension because you haven't supplied all the arguments. Based on https://devdocs.magento.com/guides/v2.3/comp-mgr/module-man/compman-checklist.html and the details of the question you supplied, the reason you receive this exception is because you have failed to complete either of the listed..

  1. Prerequisites for the package
  2. the Module Manager checklist

*both of these lists of steps are documented in the link you supplied.

As you mentioned in the comments to your question you are required by the vendor to setup a server, as many of the prerequisite activities involve running operating system commands (CLi)

You can then either start the component manager, or upgrade the system. This appears to be what the package is to be used for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM