Magento – magento 2.2.1 setup:di:compile not finished / Fails

magento2setup-di-compile

I did an upgrade from Magento 2.1.10 to 2.2.1, after some known issues the site is up again.

When I run a command setup:di:compile the compilation seems to be broken (see picture below). Also the var/di folder is empty.

How can I tackle this problem, or is DI not necessary any more in Magento 2.2?

I dids

Best Answer

It happens when you have an error in one of your modules, would suggest to display error using /app/bootstrap.php

ini_set('display_errors', 1);