Compile Error

Hi I’m new to using Git with Unreal and me and my friend who are collaborating on our project can’t seem to get it right.
At the moment, it tries to recompile on his machine after syncing and fails.
I’ve now tried to [Right-click] on my Uproject and select [Generate Visual Studio project Files] and it gives me this error.
<

>

I’m a bit at a loss, but I’ve tried searching around and haven’t found this, hoping someone here can shed some light on this?