You may not be missing the same module. In my case it was the ApplicationCore.
To add a module, open the ‘Source’ folder of your game. There should be a build file. Like ‘MyGame.Build.cs’.
There you have to extend the line with the module your game is missing.
For example:
PublicDependencyModuleNames.AddRange(new string[] { "ApplicationCore", and the other game modules for your game});