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

composer require cviebrock/laravel-elasticsearch #116

Closed
mliuchengyu opened this issue Jan 19, 2021 · 4 comments
Closed

composer require cviebrock/laravel-elasticsearch #116

mliuchengyu opened this issue Jan 19, 2021 · 4 comments
Labels

Comments

@mliuchengyu
Copy link

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires illuminate/support 8.23.1, found illuminate/support[v8.23.1] but it conflicts with another require.
Problem 2
- cviebrock/laravel-elasticsearch[8.0.0, ..., 8.0.1] require illuminate/support ^8.0 -> found illuminate/support[v8.0.0, ..., 8.x-dev] but it conflicts with another require.
- cviebrock/laravel-elasticsearch[8.0.2, ..., 8.0.3] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., 8.x-dev] but it conflicts with another require.
- Root composer.json requires cviebrock/laravel-elasticsearch ^8.0 -> satisfiable by cviebrock/laravel-elasticsearch[8.0.0, 8.0.1, 8.0.2, 8.0.3].

@cviebrock
Copy link
Contributor

Which version of Laravel are you using, 8.23?

I just tried this with a fresh project and had no issues:

composer create-project laravel/laravel laravel8
cd laravel8
composer require cviebrock/laravel-elasticsearch

Can you post your entire composer.json file?

@mliuchengyu
Copy link
Author

laravel/framework 7.24

composer file

http://nkcjs.oss-cn-qingdao.aliyuncs.com/composer.json

@cviebrock
Copy link
Contributor

I think you'll want the 4.2.2 version of the package then.

@mliuchengyu
Copy link
Author

It worked. Thank you

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

No branches or pull requests

2 participants