Magento 2 Composer error when trying to install modules [UnexpectedValueException] https://magento.stackexchange.com/a/316793/70292
During composer update command UnexpectedValueException was occur. https://prnt.sc/vd2ava
[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(MageworxModule/): failed to open dir: No such file or directory
I have tried the above solutions but not works. I have added 777 permission to app/ pub/ generated/ var/ I have also checked and found that in app/code/MageworxModule module was already available.