After reinstalling 5.3 all includes say "source file cannot be opened"

I had to move my installation to a new drive, but after doing so, all my includes say “source file cannot be opened”

I can get the files to be accessed by being more specific with the file path i.e include “customClass.h” ->“Public/customClass.h”

for unreal engine components, using the entire file path works, but this isn’t really a solution as I would have to update every single include and I would rather just find the source of the problem