inventory icon indicating copy to clipboard operation
inventory copied to clipboard

composer require magento/inventory-metapackage -> no matching package found

Open tanimoto-true opened this issue 4 years ago • 2 comments

As I try to install MSI following installation guide in wiki in this repository, It doesn't work well.

https://github.com/magento/inventory/wiki/Metapackage-Installation-Guide

Preconditions (*)

  1. magento 2.3.4
  2. composer 1.10.19

Steps to reproduce (*)

  1. exec following command
composer require magento/inventory-metapackage

Expected result (*)

  1. successfully install magento/inventory-metapackage package

Actual result (*)

  1. following error message output.
Using version 1.2.0-dev for magento/inventory-metapackage
./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
    - Installation request for magento/inventory-metapackage 1.2.0-dev -> satisfiable by magento/inventory-metapackage[1.2.0-dev].
    - magento/inventory-metapackage 1.2.0-dev requires magento/inventory-composer-installer 1.1.0 -> no matching package found.

tanimoto-true avatar Dec 11 '20 03:12 tanimoto-true

Hi @tanimoto-true. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Dec 11 '20 03:12 m2-assistant[bot]

FYI: In a guide there is a step that should solve the issue, but agree that better solution would be more preferable: Remove or comment the line "magento/inventory-composer-installer": "1.1.0" in _metapackage/composer.json file since the package is required for composer based installation only (temporary workaround, have to be fixed soon).

vovsky avatar Apr 29 '21 14:04 vovsky