Open lor08 opened 1 year ago
Describe the bug Target [Psr\Http\Client\ClientInterface] is not instantiable while building [Elastic\Elasticsearch\Client, Elastic\Transport\Transport].
Target [Psr\Http\Client\ClientInterface] is not instantiable while building [Elastic\Elasticsearch\Client, Elastic\Transport\Transport].
To Reproduce Steps to reproduce the behavior:
Additional context Installed the package
composer require matchish/laravel-scout-elasticsearch
Set env variables
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
Set ELASTICSEARCH_HOSTenv variable
ELASTICSEARCH_HOST
I run the command to index and I get this error, what am I doing wrong?
Version Laravel 8.83 Scout 9.4.12
Did you register ElasticSearchServiceProvider?
https://github.com/matchish/laravel-scout-elasticsearch#rocket-installation
Describe the bug
Target [Psr\Http\Client\ClientInterface] is not instantiable while building [Elastic\Elasticsearch\Client, Elastic\Transport\Transport].
To Reproduce Steps to reproduce the behavior:
Additional context Installed the package
composer require matchish/laravel-scout-elasticsearch
Set env variables
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine
Set
ELASTICSEARCH_HOST
env variableI run the command to index and I get this error, what am I doing wrong?
Version Laravel 8.83 Scout 9.4.12