My setup:

I'm using Visual Studio 2019 and I'm new to modules in C++. This is the code in my module:
export module Module;
export void MyFunc();
And this is the code in the .cpp file
import Module;
myFunc()
But I keep getting the error:
E3344 module file mapping for 'Module' is invalid
How to resolve the error?