Question

I have installed Magento 2.4.2 and then installed Claue Theme after setup theme and running command

php bin/magento setup:di:compile

it will working on 5 from 9 then give an error like

Compilation was started.
Area configuration aggregation... 5/9 [===============>------------]  55% 40 secs 286.0 MiB
In ClassReader.php line 45:
                                                                                                                                          
** **Impossible to process constructor argument Parameter #3 [ <required> 
Magento\InventorySalesApi\Api\StockResolverInterface $stockResolver ]  
of Smile\ElasticsuiteCatalog\Model\ResourceModel\Product\Indexer\Fulltext\Datasource\InventoryData class                                   
                                                                                                                                          

In ClassReader.php line 34:
                                                                         
 Class Magento\InventorySalesApi\Api\StockResolverInterface does not exist  

I have check in app/config.php

there are 3 modules with name Smile

'Smile_ElasticsuiteCore' => 1,
    'Smile_ElasticsuiteCatalog' => 1,
    'Smile_ElasticsuiteSwatches' => 1

I think that is causing the issue but don't know yet.

enter image description here

Any help is appriciated.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top