Rebuilding from source manually giving stop code 8. [BOUNTY]

Hi,
This is my first time creating a game with C++ in Unreal, as normally I just use Blueprints, so this may be a really dumb question.

I am not sure if it’s allowed but I am placing a $20 bounty on this, for the first person who can help me access my project again. If anyone needs any extra information my Discord is CaineTinyArms.

I cloned my GitHub Repo onto a new PC, and tried to open the UProject file, which gave me an Error and told me to try rebuilding from source manually. So, I generated Visual Studio Project Files by right clicking on the UProject file, I then opened the Solution and tried to build it inside of Visual Studio. Doing this gave me this error:

The command ““C:\Program Files\Epic Games\UE_5.5\Engine\Build\BatchFiles\Build.bat” TheFootageEditor Win64 Development -Project=“C:\Users\Name\Desktop\TheFootage\TheFootage.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.

I couldn’t find any solutions online so I am praying that there is a fix for this and the project is not lost forever.

Thank you all in advance.

Okay, so I’ve managed to fix this myself. To fix it I did these steps:

I deleted both the Unreal Engine and the GitHub Repo.
I then cloned the repo and redownloaded the Engine.
Once everything had installed, I right clicked the .uproject file and edited it with notepad.
I then deleted every plugin apart from “ModelingToolsEditorMode”.
I then right clicked the .uproject file, and generated visual studio files again.
After that, I opened the .sln file and then rebuilt the project with Ctrl + Shift + B.