cant build and regenerate folders of unreal project

I moved my project from the C drive to the E drive, since I ran out of room. My engine is still in the C drive. Today I opened the project, and it was fine. I was doing my course, but when I pressed Build Solution in VS, it got stuck on processes and didn’t move. So after closing Unreal and reopen it didn’t work. I then tried to delete the binaries, saved, and Intermediate folders, and tried to re-generate them, but then I got an error. After searching a bit online, I did the following:

1: Verify unreal in case it lost the project connection in Epic Launcher.

2: The problem is something about unrealbuilttool.exe that isn’t linked to the project or something, so I did some attempts using terminal and CMD to reconnect it, but it didn’t seem to do anything and only caused more errors.

3: deleting bineries, saved, intermediate folders, but also deleted the snl VS file and .vs hidden folder. This allows me to generate the folders without errors, but still won’t let me open the project and the project shows a message of "can’t build, try from source.” i even opened the snl in VS and tried build from there but it just show an error.

The command ““C:\Program Files\Epic Games\UE_4.27\Engine\Build\BatchFiles\Build.bat” FirstProjectEditor Win64 Development -Project=“E:\Workspace\Game Development\Unreal\Practice Projects\Unreal-Course\FirstProject.uproject” -WaitMutex -FromMsBuild” exited with code 6.

what seems to be wrong? Any suggestions or try something I haven’t done yet?