Do you have DirectX 12+ installed? I know that can cause UE4 some problems
Also make sure the game isn't being blocked by your virus software, when I test the game I always have to run it twice if I don't whitelist the exe location
https://www.filehorse.com/download-directx-12/
Try installing that first, UE4's error messages aren't exactly intuitive, it's very possible that is what's causing the error.