1Heat the oven to 350°F. Spray bottom of 13x9-inch pan with nonstick cooking spray. In a large bowl, mix together flour, baking soda, baking powder, cinnamon, nutmeg and salt. Add grated carrots and toss to coat. Set aside.
2In a mixing bowl, using medium speed of electric mixer, beat eggs, sugar and vanilla. Add oil and pineapple, mix well. In batches on low speed, add carrot mixture, mix until combined. Pour into your pan. Bake for 40 to 45 minutes, or until a toothpick inserted into the center comes out clean.
3To make the cream cheese frosting, run a dry whisk or fork through the powdered sugar to break up any lumps and set aside. In a medium mixing bowl, using electric mixer at medium speed, beat cream cheese, butter and vanilla until very smooth. Turn the mixer on low speed and add in the powdered sugar in batches.
4Cool cake completely, about 1 hour. Frost with the cream cheese frosting.