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:
[UnexpectedValueException]
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.
Thanks!