Preheat oven to 350°F (175°C) and line a baking tray with parchment paper.
In a bowl whisk flour baking soda baking powder cinnamon and salt.
In another bowl beat butter brown sugar and granulated sugar until creamy.
Add egg and vanilla extract and mix well.
Gradually mix dry ingredients into wet mixture.
Fold in grated carrots and walnuts.
In a small bowl mix cream cheese powdered sugar and vanilla until smooth.
Scoop cookie dough flatten slightly and place a small spoon of cream cheese filling in the center.
Cover with another small piece of dough and seal edges gently.
Place on baking sheet and bake for 12–15 minutes until edges are golden.