Here's a working solution (worked for me)
Search for your module strings and remove all traces from your:
/vendor/composer/installed.json
/vendor/composer/autoload_files.php
/vendor/composer/autoload_psr4.php
/vendor/composer/autoload_files.php
/vendor/composer/autoload_static.php
Be careful not to remove commas of other modules listed.
This problem mostly happens when you uninstall a composer module by removing the module's directory without using composer's commands.