Smile-SA / elasticsuite

Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
https://elasticsuite.io
Open Software License 3.0
761 stars 341 forks source link

Error when running di:compile #908

Closed jordanvector closed 6 years ago

jordanvector commented 6 years ago

Preconditions

Magento Version : 2.2.4 EE

ElasticSuite Version : 2.5.9

Environment : Local

Third party modules :

Steps to reproduce

  1. Enable All Elasticsuite Modules
  2. Configure Modules Per Documentation
  3. Run php bin/magento setup:di:compile

Expected result

  1. Successful php bin/magento setup:di:compile

Actual result

  1. [Screenshot, logs]

jordanschinella@jordans-MBP ~/S/m2ee> php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/7 [====================>-------] 71% 4 mins 294.0 MiB

[ReflectionException]
Class Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface does not exist

[ReflectionException]
Class Smile\ElasticsuiteCore\Api\Client\ClientFactoryInterface does not exist

setup:di:compile

Elasticsearch is configured correctly and it does reindex correctly locally. The compilation is the only part that fails

jordanvector commented 6 years ago

This looks like a duplicate of https://github.com/Smile-SA/magento2-module-elasticsuite-targetrule/issues/10.

Seems target rule is not yet compatibile with elasticsuite 2.5

afoucret commented 6 years ago

Hi @jordanvector,

This module is not supported anymore with ElasticSuite 2.5.x. It is very unlikely that we will fix it since:

I close because this bug is related the target rule module which is not in the scope of the main ElasticSuite project.

BR,