This error is caused when you’re trying to install a game but the launcher is unable to do this due to a bad file.
Removing the game’s current installation files and reinstalling may resolve your issue.
If verifying your game files doesn't resolve the issue you can try to manually remove your game files from your computer.
Note: The default installation directory is C:\Program Files\Epic Games\
Right-click on the game folder and click on Delete.
Restart the Epic Games Launcher.
Reinstall and try launching your game.