I got the exact same error message — turns out it was just a special character in the path. I figured it out thanks to some nice people on a Discord server.
I had left the Unreal folder in my Downloads folder, which is named Téléchargements in French — the “é” character was causing the crash. I just had to move the Unreal folder to a path without special characters.