Magento 2作曲家无法正常工作

时间:2017-01-04 08:47:27

标签: magento composer-php

我正在尝试在Magento 2中安装一个lenguage包。我运行作曲家require eusonlito/magento2-language-es_es,但作曲家向我显示了一个问题:

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^0.0.5 for eusonlito/magento2-language-es_es
./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 eusonlito/magento2-language-es_es ^0.0.5 -> satisfiable by eusonlito/magento2-language-es_es[0.0.5].
    - Conclusion: remove magento/framework 100.1.2
    - Conclusion: don't install magento/framework 100.1.2
    - eusonlito/magento2-language-es_es 0.0.5 requires magento/framework 100.0.* -> satisfiable by magento/framework[100.0.10, 100.0.11, 100.0.12, 100.0.13, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9].
    - Can only install one of: magento/framework[100.1.2, 100.0.10].
    - Can only install one of: magento/framework[100.1.2, 100.0.11].
    - Can only install one of: magento/framework[100.1.2, 100.0.12].
    - Can only install one of: magento/framework[100.1.2, 100.0.13].
    - Can only install one of: magento/framework[100.1.2, 100.0.2].
    - Can only install one of: magento/framework[100.1.2, 100.0.3].
    - Can only install one of: magento/framework[100.1.2, 100.0.4].
    - Can only install one of: magento/framework[100.1.2, 100.0.5].
    - Can only install one of: magento/framework[100.1.2, 100.0.6].
    - Can only install one of: magento/framework[100.1.2, 100.0.7].
    - Can only install one of: magento/framework[100.1.2, 100.0.8].
    - Can only install one of: magento/framework[100.1.2, 100.0.9].
    - Installation request for magento/framework (locked at 100.1.2) -> satisfiable by magento/framework[100.1.2].


Installation failed, reverting ./composer.json to its original content.

我如何解决这个问题?

谢谢!

1 个答案:

答案 0 :(得分:0)

安装eusonlito/magento2-language-es_es创建版本问题(在这种情况下为magento/framework)。在此,magento/framework版本对magento2-language-es_es来说太高了。尝试查看哪些依赖项magento2-language-es_es需要并更改版本标记。