Hey @Lorekeeper49!
Here is a forum thread with the same error solutions that worked for others. The first recommended solution is to build your code in your IDE (visual studios) then attempt to build from inside Unreal again:
I hope one of the solutions in the above thread is the solution you are looking for!