Compiling Lightmass (UE 4.27)

How do I compile Unreal Lightmass, given that one of my levels in my technical demo can’t seem to build its lighting?