-2

When I run the command php bin/magento setup:di:compile I am getting an error as below

PHP Fatal error: Uncaught Error: Cannot instantiate interface Symfony\Component\Console\Output\OutputInterface in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111

  • please give more information. – Rv Singh Apr 25 at 11:28
  • When i am deploying i got this error An error occurred during creating the deployment package, error message: Unable to execute command "php /tmp/builds/d-9965693d/bin/magento setup:di:compile 2>&1" - – Parthavi Apr 25 at 11:29
  • please check it log what's error comes – Rv Singh Apr 25 at 11:30
  • Deleting var/generation, var/cache and var/di and try again – Savan Patel Apr 25 at 11:33
  • @SavanPatel Still not working – Parthavi Apr 25 at 11:41
1

Its due to improper module configuration. You can debug it by disabling recent modules that you installed and also check for missing files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.