Building unreal engine from source fails to build in solution

I’ve been watching a heap of tutorials and have been following the ue docs to build the engine from github source code and have been following it to a T. I then get this error when I build in the solution.
MSB3073 - The command …..\Build\BatchFiles\Build.bat -Target=UnrealEditor Win64 Development -Target=ShaderCompileWorker Win64 Development -Quiet -WaitMutex -FromMsBuild exited with code 6.
I came across this solution:

but this says to roll back to an older version. Would anyone have a clue how to use the newer versions of unreal engine and get it to build or at least why i might be constantly getting this wrong.
I don’t know whether this is relevant or not but when a build a project from the eg store version of ue5 I get an error whenever I change something in he build.cs file.

1 Like