【发布时间】:2022-10-06 22:13:25
【问题描述】:
我已经在虚拟机上安装了带有示例数据的 Magento。现在我正在尝试为它安装 Live Search。我使用了来自link 的说明。正如说明所说,我运行以下命令:
composer require magento/live-search
但它给了我一个错误:
Problem 1
- magento/live-search 2.0.0 requires magento/module-live-search-metrics 2.0.0 -> could not be found in any version, there may be a typo in the package name.
- magento/live-search 2.0.1 requires magento/module-live-search-metrics 2.0.1 -> could not be found in any version, there may be a typo in the package name.
- magento/live-search 2.0.2 requires magento/module-live-search-metrics 2.0.2 -> could not be found in any version, there may be a typo in the package name.
- magento/live-search 2.0.3 requires magento/module-live-search-metrics 2.0.3 -> could not be found in any version, there may be a typo in the package name.
- Root composer.json requires magento/live-search ^2.0 -> satisfiable by magento/live-search[2.0.0, 2.0.1, 2.0.2, 2.0.3].
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.
- It\'s a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
You can also try re-running composer require with an explicit version constraint, e.g. \"composer require magento/live-search:*\" to figure out if any version is installable, or \"composer require magento/live-search:^2.1\" if you know which you need.
如我所见,它说magento/module-live-search-metrics 不存在,但我找不到与我有相同问题的其他人,这意味着这只是我的问题。
标签: magento composer-php