Preheat the oven to 350.
Mix together the flour, baking soda, cinnamon, baking powder, salt and nutmeg in a medium bowl.
In a separate bowl, use an electric mixer on medium speed and beat the eggs, sugar, brown sugar, and canola oil until light and thick.
Reduce speed to low and add the flour mixture, beating barely blended.
Stir in the vanilla, carrots, and walnuts until well blended.
Line 12 cup cupcake or muffin pan two-third-full with batter.
Bake until the cupcakes are puffed, approximately 20 minutes.
Cool completely.
Beat butter and cream cheese at medium speed until creamy. About two minutes.
Reduce speed to low and add powdered sugar in two parts incorporating vanilla extract halfway through and mix until incorporated (scraping down walls with rubber spatula each time).
Add cinnamon and fold by hand into frosting.
Serve within 24 hours.
Frost each cupcake with pastry bag and cut half-inch off the tip.
Add edible gold glitter stars if desired.