Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

install error with laravel 7 #43

Closed
dreamcog opened this issue Sep 10, 2020 · 14 comments · Fixed by #47
Closed

install error with laravel 7 #43

dreamcog opened this issue Sep 10, 2020 · 14 comments · Fixed by #47

Comments

@dreamcog
Copy link

when i try to install meilisearch-laravel-scout with laravel 7
it shows error:


composer require meilisearch/meilisearch-laravel-scout

Problem 1
    - Installation request for meilisearch/meilisearch-laravel-scout ^0.11.0 -> satisfiable by meilisearch/meilisearch-laravel-scout[v0.11.0].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
    - Can only install one of: guzzlehttp/guzzle[6.5.x-dev, 7.0.1].
    - Conclusion: install guzzlehttp/guzzle 6.5.x-dev
    - Installation request for guzzlehttp/guzzle (locked at 7.0.1, required as ^7.0) -> satisfiable by guzzlehttp/guzzle[7.0.1].
@curquiza
Copy link
Member

Hello @dreamcog!

This issue might be linked to this issue in meilisearch-php and should be fixed soon. Tell me if I misunderstood your problem!

Thanks for your feedback and for trying MeilISearch 😁

@dreamcog
Copy link
Author

@curquiza thanks for your reply.
i read the issue which was been post in meilisearch-php today , i will try to fix it myself :)

@curquiza
Copy link
Member

Keep us informed about your fix! :)

@felixgoldstein
Copy link

same problem here. is there any quick solution?

@curquiza
Copy link
Member

Hello @felixgoldstein! Sorry, I don't have any quick solution to provide right now. This PR meilisearch/meilisearch-php#81 (that you might have already seen) will fix this issue. The new release containing this change will be available soon!

@IvanG11
Copy link

IvanG11 commented Sep 18, 2020

@felixgoldstein I'm using the package with Laravel 7 you just have to use "guzzlehttp / guzzle": "^ 6.3" until this solved meilisearch/meilisearch-php#81

@rizalfauzie
Copy link

Make this support for older version of Laravel please.

@felixgoldstein
Copy link

felixgoldstein commented Sep 21, 2020

@curquiza @IvanG11 i solved the issue for me by creating a fork of meilisearch-php and applying the open pull request on my fork - worked with laravel 8

@dreamcog
Copy link
Author

i have solved it with @bensherred 's branch , thanks very much.

1.install the v0.14 melisearch-php
$ composer require meilisearch/meilisearch-php symfony/http-client nyholm/psr7:^1.0

2.install the @bensherred meilisearch-laravel-scout branch
"repositories": [ { "type" : "vcs", "url" : "https://github.com/bensherred/meilisearch-laravel-scout.git" } ]
and
"meilisearch/meilisearch-laravel-scout": "dev-update-meilisearch-php",

thanks @bensherred

@bensherred
Copy link
Contributor

Hi @dreamcog, I wouldn't recommend using that approach. Although that's okay for testing the changes, it's not a permanent fix. I have a PR open which will fix this issue and merge my changes into this repo.

@curquiza
Copy link
Member

curquiza commented Sep 23, 2020

The v0.12.0 is now out and fixes this issue.

@rizalfauzie
Copy link

this is not fixed yet on Laravel 7

  Problem 1
    - Can only install one of: laravel/scout[8.x-dev, v7.2.1].
    - Can only install one of: laravel/scout[v7.2.1, 8.x-dev].
    - Can only install one of: laravel/scout[8.x-dev, v7.2.1].
    - meilisearch/meilisearch-laravel-scout v0.12.0 requires laravel/scout ^8.0 -> satisfiable by laravel/scout[8.x-dev].
    - Installation request for meilisearch/meilisearch-laravel-scout ^0.12.0 -> satisfiable by meilisearch/meilisearch-laravel-scout[v0.12.0].
    - Installation request for laravel/scout (locked at v7.2.1, required as ^7.2) -> satisfiable by laravel/scout[v7.2.1].

@bensherred
Copy link
Contributor

@rizalfauzie can you send the contents of your composer.json dependencies?

@shokme
Copy link
Collaborator

shokme commented Sep 28, 2020

Installation request for laravel/scout (locked at v7.2.1, ...)

you probably need to upgrade your version of laravel scout to ^8 (required for meilisearch).

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

Successfully merging a pull request may close this issue.

7 participants