01 -
Preheat oven to 350°F (175°C) with a rack in the center. Line a 9x9 square metal pan with foil or parchment paper and lightly grease it.
02 -
In a large bowl, whisk together melted butter, brown sugar, and granulated sugar for one full minute until well combined. Whisk in the egg, egg yolk, and vanilla extract.
03 -
In a separate bowl, mix flour, cinnamon, ginger, nutmeg, salt, and baking powder.
04 -
Add the flour mixture to the wet ingredients and whisk until fully combined, being careful not to overmix. Tap excess batter off the whisk, then use a wooden spoon or silicone spatula to fold in shredded carrots and chopped pecans.
05 -
Spread the batter evenly in the prepared pan. Bake for 22-26 minutes, or until a toothpick inserted in the center comes out clean. Let the bars cool completely on a wire rack.
06 -
Using a hand mixer or stand mixer with a paddle attachment, beat cream cheese and butter until smooth. Gradually beat in powdered sugar and vanilla extract. If the frosting is too soft, add more powdered sugar or refrigerate for 20 minutes.
07 -
Spread or pipe the frosting onto the cooled bars. Optionally, garnish with chopped pecans. Bars can be pre-cut before frosting for individual servings.
08 -
Store the bars in the refrigerator and bring them to room temperature one hour before serving.