 Eris was discovered almost 20 years ago. It wasn't noticed earlier because it's a long way from the Sun, almost three times Pluto's distance. At that range, it looks quite faint, and it creeps along against the background of stars, so it took a while to realize that it's a member of the solar system.