Lighting will not Build in UE4-27, but it builds in UE5

Hello,

I am running into a weird issue with UE4. I can build everything but lighting, even when I try to build a blank project. It starts the swarm agent and freezes. I have tried to uninstall and reinstall the Engine but it does not work. The weird part is that it builds just fine in UE5. Is it because the very first engine I downloaded was UE5? If not, what is the issue and how can I fix it? I attached some screenshots below.

Frozen Blank Project:

Swarm Agent Log:

Computer Specs:
Computer Specs

Thank you for any help or suggestions.

Hello,

I was able to fix it by resetting my drivers.