Drupal 8: The following module is missing from the file system...

Error occurs when probably removed files before uninstalling a module. This snippet fixes this:

drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='MODULE_NAME'";

 

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!