When we run bin/magento setup:di:compile on a 2.4.1 install we get the following error when MSI is disabled (Composer replace all the MSI packages).
Compilation was started.
Area configuration aggregation... 5/9 [===============>------------] 55% 1 min 206.0 MiB
In ClassReader.php line 45:
Impossible to process constructor argument Parameter #0 [ <required> Magento\InventorySalesApi\Api\Data\ItemToSellInterfaceFactory $itemToSellFactory ] of MultiSafepay\ConnectMSI\Model\StockReducer class
In ClassReader.php line 34:
Class Magento\InventorySalesApi\Api\Data\ItemToSellInterfaceFactory does not exist
setup:di:compile
When we run bin/magento setup:di:compile on a 2.4.1 install we get the following error when MSI is disabled (Composer replace all the MSI packages).