Year end closing - retained earnings account missing

Hello, we are trying to close our year but get a notification that there is no retained earnings account setup. Has anyone encountered this issue? Ty.