我正在尝试在Magento 2中安装语言包。我运行作曲家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.
我该如何解决这个问题?
谢谢!
安装
eusonlito/magento2-language-es_es
会产生版本问题(在这种情况下使用magento/framework
)。在这里,您的magento/framework
版本对于magento2-language-es_es
来说太高了。尝试查看magento2-language-es_es
需要哪些依赖项并更改版本标记。