You cannot simply omit the eggs from a cake recipe and expect it to turn out. Rather, search online for a recipe developed specifically without eggs. For example, "chocolate cake no eggs" or "eggless cake recipe".