I am trying to install nexmo/laravel on my project I am getting this error
The requested package elasticsearch/elasticsearch (locked at v7.3.0, required as 7.0.2) is satisfiable by elasticsearch/elasticsearch[v7.3.0] but these conflict with your requirements or minimum-stability.
I can't downgrade elasticsearch because it will create issue in the project.How i can fix this issue and install this package.
locked at v7.3.0, required as 7.0.2
sounds as if your composer.lock
and composer.json
files are out of sync. Try deleting composer.lock
and your vendor/
directory (if it exists), and do composer install
.
If that works, update your composer.json
to require the correct version of Elasticsearch you need. composer update elasticsearch/elasticsearch:^7.3
should probably work to do that.