Skip to content

Installing with Sylius fails #942

Open
@euperia

Description

@euperia

I'm trying to use this with Sylius (Symfony based ecommerce platform) and get the following error when running bin/console cache:clear:

⇒  composer require ongr/elasticsearch-bundle "~7.0"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
  - Installing react/promise (v2.8.0): Loading from cache

... etc

Symfony operations: 1 recipe (31555c9eb44d1c01bf9a5024f25a623c)
  - Configuring ongr/elasticsearch-bundle (>=v7.0.2): From auto-generated recipe
phpstan/extension-installer: Extensions installed
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 255
!!
!!  In MappingPass.php line 65:
!!
!!    Class DoctrineMigrations\Version20190109095211 does not exist
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json to its original content.
- PHP version: 7.4
- Elasticsearch version: 7.7.0
- Bundle version
- Symfony version: 4
- Sylius: 1.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions