将Magento-2.2.6升级到2.3.1

时间:2019-07-09 12:08:35

标签: magento-2.3

当我将Magnetico2版本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. 

请帮助我解决此问题。

1 个答案:

答案 0 :(得分:0)

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

{
  "require": {      

  },
  "minimum-stability": "dev"
}