Are you unable to package Windows projects in UE5? Fear not, I have a solution for you!

So interesting solution for me, I know it is most likely obvious to some, but just having VSC installed with the Unreal Engine install option allowed me to build without issues.