magento2: [2.2.0-RC 2.1] Can not install B2B extensions via composer
Description
As indicated via the dev docs (http://devdocs.magento.com/guides/v2.2/release-notes/release-candidate/install.html) RC B2B modules should be installable via composer. However, the modules do not appear to be available.
Preconditions
- PHP 7.0.15 (cli)
- Composer version 1.5.1
Steps to reproduce
- Create a new enterprise project via composer
composer create-project -s RC --repository-url=https://repo.magento.com/ magento/project-enterprise-edition magento-220-rc21 2.2.0-rc21
- After successful download of project-enterprise-edition, run command to install B2B modules, per documentation
cd magento-220-rc21
composer require magento/extension-b2b
- Attempt to install using the name in the B2B module composer.json file:
"name": "magento/module-b2b",
composer require magento/module-b2b
- Attempt to install B2B Shared Catalog
composer require magento/module-shared-catalog
Expected result
- Installation of B2B modules
Actual result
- Error on magento/extension-b2b:
[InvalidArgumentException] Could not find package magento/extension-b2b at any version for your minimum-stability (RC). Check the package spelling or your minimum-stability
- Error on magento/module-b2b:
[InvalidArgumentException] Could not find package magento/module-b2b at any version for your minimum-stability (RC). Check the package spelling or your minimum-stability
- Error on magento/module-shared-catalog
Your requirements could not be resolved to an installable set of packages.
Problem 1
- magento/module-shared-catalog 100.0.0-rc21 requires magento/module-b2b 100.0.* -> no matching package found.
- magento/module-shared-catalog 100.0.0-rc20 requires magento/module-b2b 100.0.* -> no matching package found.
- Installation request for magento/module-shared-catalog ^100.0@RC -> satisfiable by magento/module-shared-catalog[100.0.0-rc20, 100.0.0-rc21].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 7
- Comments: 24 (4 by maintainers)
I’m getting the same issue in Magento Commerce 2.2.1. There are no spaces in the auth keys, I’ve checked that a million times
Adding a
require
to composer.json and runningcomposer update
gives no result as well.Magento 2 Cloud throwing error while trying to install b2b modules.
Error: composer require magento/extension-b2b Using version ^1.1 for magento/extension-b2b
./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Can only install one of: magento/module-user[101.1.0, 101.0.1]. - Can only install one of: magento/module-user[101.1.0, 101.0.1]. - Can only install one of: magento/module-user[101.0.1, 101.1.0]. - magento/module-shared-catalog 100.1.0 requires magento/module-user 101.1.0 -> satisfiable by magento/module-user[101.1.0]. - magento/extension-b2b 1.1.0 requires magento/module-shared-catalog 100.1.0 -> satisfiable by magento/module-shared-catalog[100.1.0]. - Installation request for magento/extension-b2b ^1.1 -> satisfiable by magento/extension-b2b[1.1.0]. - Installation request for magento/module-user (locked at 101.0.1) -> satisfiable by magento/module-user[101.0.1]
Issue: Run composer update always look modules from compose cache if we are trying to use multiple magento cloud versions. Magento 2.2.2 conflict with old b2b module versions and throw this error
SOlution: composer clear-cache composer update composer require magento/extension-b2b=^1.0 git add . & git commit -m “added b2b modules” git push
This is happening to me. In my case I downloaded the tar from Magento.com and unzipped. Then when I tried to install the b2b module I got the error.