Deleted game by accident, cant get it back!

I deleted the game and the file it came with by accident, and when I discovered it no longer would start, attempted to fix it by deleting the whole thing and redownloading. I pulled everything out of the recycling bin, but it made no difference. Epic Store has the option to repair, which i clicked but nothing changed. Now I can’t uninstall the game (again, the option is there but clicking it makes no difference) or reinstall it so I can keep playing. Any advice?