Preheat oven to 350 degrees. Line the bottom of 2-8 inch round cake pans with parchment paper. Grease and flour pans.
In a large mixing bowl, whisk together the flour, sugar, baking soda, salt, cinnamon, and nutmeg.
In a stand mixer, mix the bananas, oil, pineapple, eggs, vanilla, and pecans. Once that is mixed add the dry ingredients, mix until they are incorporated.
Pour batter into prepared pans.
Bake in preheated oven for 40-50 minutes or until a toothpick inserted into the center of the cake comes out clean.
Cool in pans for 10 minutes. Turn cakes out onto wire rack and cool completely about 1 hour.