Elasti c Ошибка поиска: - elasticsearch / elasticsearch v7.6.0 требует guzzlehttp / ring php dev-fork-elasticsearch - PullRequest
0 голосов
/ 04 августа 2020

Код на моей стороне работал нормально. Один из членов моей команды извлекает код из git с файлом composer. json. При попытке выполнить команду «composer update» он получил ошибку. Он рассказал мне об ошибке, но я не поверил, потому что с моей стороны проект работал нормально. Затем он попросил меня сначала удалить папку поставщика, а затем запустить команду, я сделал то же самое и получил следующую ошибку:

  Problem 1
    - elasticsearch/elasticsearch v7.6.0 requires guzzlehttp/ringphp dev-fork-elasticsearch -> no matching package found.
    - elasticsearch/elasticsearch v7.5.1 requires guzzlehttp/ringphp dev-fork-elasticsearch -> no matching package found.
    - Conclusion: don't install basemkhirat/elasticsearch 1.4.4
    - Conclusion: don't install basemkhirat/elasticsearch 1.4.3
    - Conclusion: don't install basemkhirat/elasticsearch 1.4.2
    - Conclusion: don't install basemkhirat/elasticsearch 1.4.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.8.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.7.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.6.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.5.2
    - Conclusion: don't install elasticsearch/elasticsearch v7.5.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.4.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.4.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.3.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.2.2
    - Conclusion: don't install elasticsearch/elasticsearch v7.2.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.2.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.1.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.1.0
    - Conclusion: don't install elasticsearch/elasticsearch v7.0.2
    - Conclusion: don't install elasticsearch/elasticsearch v7.0.1
    - Conclusion: don't install elasticsearch/elasticsearch v7.0.0
    - Conclusion: don't install elasticsearch/elasticsearch 7.x-dev
    - Conclusion: don't install elasticsearch/elasticsearch 7.9.x-dev
    - Conclusion: don't install elasticsearch/elasticsearch 7.8.x-dev
    - Conclusion: don't install elasticsearch/elasticsearch 7.7.x-dev
    - Conclusion: don't install elasticsearch/elasticsearch 7.4.x-dev
    - Installation request for basemkhirat/elasticsearch ^1.4 -> satisfiable by basemkhirat/elasticsearch[1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4].  
    - Conclusion: don't install elasticsearch/elasticsearch 7.2.x-dev
    - basemkhirat/elasticsearch 1.4 requires elasticsearch/elasticsearch ^5.0|^6.0 -> satisfiable by elasticsearch/elasticsearch[5.0.x-dev, 5.x-dev, 6.0.x-dev, 6.5.x-dev, 6.7.x-dev, 6.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 5.0.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 5.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 6.0.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 6.5.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 6.7.x-dev].
    - Can only install one of: elasticsearch/elasticsearch[7.0.x-dev, 6.x-dev].
    - Installation request for elasticsearch/elasticsearch ~7.0 -> satisfiable by elasticsearch/elasticsearch[7.0.x-dev, 7.2.x-dev, 7.4.x-dev, 7.7.x-dev, 7.8.x-dev, 7.9.x-dev, 7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.1.0, v7.1.1, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.4.1, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.7.0, v7.8.0].

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.

Вот мой composer. json код файла

{
    "name": "laravel/lumen",
    "description": "The Laravel Lumen Framework.",
    "keywords": ["framework", "laravel", "lumen"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=5.6.4",
        "laravel/lumen-framework": "5.5.*",
        "vlucas/phpdotenv": "~2.2",
        "jenssegers/mongodb": "3.3.0-alpha",
        "swiftmailer/swiftmailer": "^6.0",
        "firebase/php-jwt": "^5.0",
        "delatbabel/elocryptfive": "^1.5",
        "illuminate/mail": "^5.5",
        "maatwebsite/excel": "^2.1",
        "brozot/laravel-fcm": "^1.2",
        "elasticsearch/elasticsearch": "~7.0"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "phpunit/phpunit": "~6.0",
        "mockery/mockery": "~0.9"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/",
            "database/"
        ]
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"copy('.env.example', '.env');\""
        ]
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "optimize-autoloader": true
}

Что мне теперь делать?

...