Recent Trouble Compiling Project in UE 4.27

I recently get an error when packaging my project. It used to compile, but recently it throws an error saying " ERROR: Could not find definition for module ‘DerivedDataCache’, (referenced via Target → Launch.Build.cs → SessionServices.Build.cs → Core.Build.cs)". I recently emptied my DDC because it was getting rather large. Do’t know if that’s what’s causing the problem. I rebuild the boot.ddc for the project, but that didn’t fix the issue. So, I need to know is there a work-around for this?

Hey there @FuzzyTom! Welcome back to the community! If possible could we see the full logs?

My usual recommendation would actually be the same thing you did to cause this, which is backing up your project, then deleting Binaries, Intermediate, and saved folders while regenerating your project solution to give the cleanest slate.