I'm trying to install a module with magento 2 composer. However, when I try the command:

composer require sendcloud/sendcloud

I see an error:

RecursiveDirectoryIterator::__construct(vendor/magmodules/packages): failed to open dir: No such file or directory

Earlier, I tried to install a module :

composer config repositories.magmodulesartifacts artifact vendor/magmodules/packages
composer require magmodules/GoogleShopping:1.1.4

But. that wasn't very successful. Probably, it's related with that. Then, I installed that module via FTP.

Please help me fix this error.


1 Answer 1


It seems that you don't have magmodules/packages module in vendor folder. Please make sure you have already installed magmodules/packages module.

If not installed then first installed that module. https://www.magmodules.eu/help/googleshopping-magento2

  • Thanks. I have installed and transfered the zip of the magmodule to /var/magmodules/packages as the installation on that website asks for that. Dec 20, 2019 at 10:10
  • 1
    How you installed magmodules/packages module? By composer or manually?
    – DJ Dev
    Dec 20, 2019 at 10:12
  • the google shopping module i've installed manually i think. Dec 20, 2019 at 10:15
  • Please use this link to installed that nodule. magmodules.eu/help/googleshopping-magento2/…
    – DJ Dev
    Dec 20, 2019 at 10:16
  • Yes, i did that already. Dec 20, 2019 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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