"The following modules are missing or built with a different engine version" with a new project

I ran into the same issue, and in the end what worked for me was right clicking on the uproject file, selecting “generate visual studio project files.” From there I opened the newly created ProjectName.sln file with visual studio, and selected build. I let the project rebuild and then reopened, and voila, all was good again. Hope this helps someone else in my predicament.