01 -
Preheat the oven to 350°F (175°C). Grease and flour a 9×13 inch baking pan.
02 -
In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
03 -
In a large bowl, beat the butter, granulated sugar, and brown sugar until light and fluffy. Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract.
04 -
Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Fold in the grated carrots, crushed pineapple, and walnuts.
05 -
Pour the batter into the prepared baking pan and spread it evenly. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean. Allow the cake to cool completely in the pan on a wire rack.
06 -
To make the frosting, beat the cream cheese and butter together until smooth. Gradually add the powdered sugar, beating until creamy and smooth. Stir in the vanilla extract.
07 -
Spread the frosting over the cooled cake. Cut into bars and garnish with additional chopped walnuts, if desired.