0

当我将magneto2 2.2.6 版本升级到2.3.1 并运行命令时composer update,出现此错误:

Problem 1
    - magento/inventory-composer-installer 1.1.0 requires composer-plugin-api ^1.1 -> no matching package found.
    - magento/product-community-edition 2.3.1 requires magento/inventory-composer-metapackage 1.1.1 -> satisfiable by magento/inventory-composer-metapackage[1.1.1].
    - magento/inventory-composer-metapackage 1.1.1 requires magento/inventory-composer-installer 1.1.0 -> satisfiable by magento/inventory-composer-installer[1.1.0].
    - Installation request for magento/product-community-edition 2.3.1 -> satisfiable by magento/product-community-edition[2.3.1].

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. 

请帮我解决这个问题。

4

1 回答 1

0

在您的 composer.json 文件中,您必须编辑 dev 的最低稳定性:

{
  "require": {      

  },
  "minimum-stability": "dev"
}
于 2019-11-04T13:56:01.943 回答