Cannot build plugin module - LINK : fatal error LNK1181: cannot open input file '..\UE4Editor.lib'

UBT occasionally screws up and deletes a file it shouldn’t during clean/rebuild. I’ve had that error a bunch of times before.
You just need to get the file back, which if you’re using a launcher build is easy, just run the Verify option on the engine installation from the launcher. If you’re on source engine build, you’ll probably need to build part of the engine again to generate the lib.