magento-cli-auto-proxy icon indicating copy to clipboard operation
magento-cli-auto-proxy copied to clipboard

Magento 2.4.8 di compilation failure

Open VladyslavSikailo opened this issue 4 months ago • 0 comments

I am getting this error on setup:di:compile on Magento 2.4.8-p1

Compilation was started.
Area configuration aggregation... 5/9 [===============>------------]  55% 18 secs 290.0 MiB
In Reader.php line 122:
                                                                                                                                                                                   
  Preference declared for "Magento\Framework\ObjectManager\Config\Reader\Dom" as "RunAsRoot\CliConstructorArgAutoProxy\Preference\Framework\ObjectManager\Config\Reader\Dom\Inter  
  ceptor", but the latter has not been included in dependency injection compilation.                                                                                               

See:

  • https://github.com/magento/magento2/commit/84c45e4681c069db767ab3f5d6c1ac86f919ab49
  • https://github.com/magento/magento2/pull/33161

VladyslavSikailo avatar Jul 29 '25 09:07 VladyslavSikailo