Directx error when installing Epic Launcher

I keep getting errors that say “Directx Error- Invalid Command Line Switch” and Error 1603. I’ve tried reinstalling the Visual C++ Redists, Directx itself (though I couldn’t find Dx11 anywhere on Microsoft’s website, which I’m not sure if that’s still the only Dx compatible with Unreal), my Nvidia RTX 2060 card driver, but nothing has worked so far. please, help.
Thank you tons in advance.