babenkoivan / elastic-migrations

Elasticsearch migrations for Laravel
MIT License
187 stars 32 forks source link

Installing elastic-migrations with composer 2.0 errors out #11

Closed chrisgrim closed 3 years ago

chrisgrim commented 3 years ago
Software Version
PHP 7.4.7
Elasticsearch 7.3.2
Laravel 7.25.0

Describe the bug When I try to do composer require babenkoivan/elastic-migrations I get

Problem 1
    - cweagans/composer-patches 1.6.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - predis/predis v1.1.2 requires cweagans/composer-patches ^1.6 -> satisfiable by cweagans/composer-patches[1.6.7].
    - predis/predis is locked to version v1.1.2 and an update of this package was not requested.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

To Reproduce

Current behavior

Expected behavior

chrisgrim commented 3 years ago

Sorry this is not an issue for Migrations!