【问题标题】:composer repository minimum-stability error作曲家存储库最低稳定性错误
【发布时间】:2018-11-14 00:02:52
【问题描述】:

我正在尝试使用 composer 安装 magento 扩展,但无论我尝试了什么,我都会收到以下错误.. [无效参数异常]

在任何版本中都找不到包 mageworx/module-searchsuiteautocomplete 以获得最低稳定性(st 有能力的)。检查包拼写或您的最低稳定性

我的作曲家是这样的:

    "repositories": [
 {
 "type": "artifact",
 "url": "searchextention"
 }
],

文件位于根文件夹的 searchextention 文件夹中。

作曲家文件的扩展:

{
   "name": "mageworx/module-searchsuiteautocomplete",
   "description": "Search Suite Autocomplete by MageWorx",
   "require": {
       "magento/framework"      : ">=100.0.0 <102",
       "magento/module-catalog" : ">=100.0.0 <103",
       "magento/module-search"  : ">=100.0.0 <101"
   },
   "type": "magento2-module",
   "version": "2.1.3",
   "license": [
       "OSL-3.0",
       "AFL-3.0"
   ],
   "autoload": {
       "files": [
           "registration.php"
       ],
       "psr-4": {
           "MageWorx\\SearchSuiteAutocomplete\\": ""
       }
   }
}

我该如何解决这个问题? 我正在使用 php 7

【问题讨论】:

    标签: magento composer-php


    【解决方案1】:

    在您的 composer.json 文件中添加/更改一行

    "minimum-stability":"dev"
    

    【讨论】:

      猜你喜欢
      • 2019-08-12
      • 2017-09-29
      • 1970-01-01
      • 2018-07-09
      • 2015-01-16
      • 2017-07-03
      • 1970-01-01
      • 1970-01-01
      • 2019-12-27
      相关资源
      最近更新 更多