Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant istall class #131

Open
murilolivorato opened this issue Jun 27, 2023 · 0 comments
Open

cant istall class #131

murilolivorato opened this issue Jun 27, 2023 · 0 comments

Comments

@murilolivorato
Copy link

murilolivorato commented Jun 27, 2023

hello , I am tryinf to install this class on docker , it is givving this error

Versions --

 "php": "^8.1",
        "elasticsearch/elasticsearch": "^8.8",
        "guzzlehttp/guzzle": "^7.2",
        "laravel/framework": "^10.10",
        "laravel/sanctum": "^3.2",
        "laravel/tinker": "^2.8"

Error -

[+] Running 1/0
 ✔ Container php  Running                                                                                                                                                                                                                                                                                                                                                                                                  0.0s 
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update basemkhirat/elasticsearch
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - basemkhirat/elasticsearch[0.1, ..., 0.8.5] require elasticsearch/elasticsearch 5.0.0 -> found elasticsearch/elasticsearch[v5.0.0] but it conflicts with your root composer.json require (^8.8).
    - basemkhirat/elasticsearch[0.8.6, ..., 0.9.9, 1.0, ..., 1.3.1] require elasticsearch/elasticsearch ^5.0 -> found elasticsearch/elasticsearch[v5.0.0, ..., v5.5.0] but it conflicts with your root composer.json require (^8.8).
    - basemkhirat/elasticsearch[1.4, ..., 1.4.4] require elasticsearch/elasticsearch ^5.0|^6.0 -> found elasticsearch/elasticsearch[v5.0.0, ..., v5.5.0, v6.0.0, ..., v6.8.2] but it conflicts with your root composer.json require (^8.8).
    - Root composer.json requires basemkhirat/elasticsearch * -> satisfiable by basemkhirat/elasticsearch[0.1, ..., 0.9.9, 1.0, ..., 1.4.4].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require basemkhirat/elasticsearch:*" to figure out if any version is installable, or "composer require basemkhirat/elasticsearch:^2.1" if you know which you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant