Unable to generate project files (error message below)

I am in the same course having the exact same problem. Did you ever figure this out?

I also can’t create a new UE5.1 C++ project. I actually get the same error @JerryBear16