In a large mixing bowl, add the ripe bananas and mash them into a pudding-like consistency with a fork or a potato masher. Add them to the mixture and mix until smooth and creamy.
Add the egg, and egg yolk, and mix until combined and creamy.
Then, add the flour, and baking soda, and mix with the hand mixer until just combined and there are no visible lumps of flour showing. Do not overmix the cookie dough.
Use a large cookie scooper to scoop out the cookies or scoop the cookies with a regular tablespoon, 1 ½ tablespoons at a time. Place them on a parchment paper-lined baking sheet.
Bake in a 180c (350f) preheated oven for 10 minutes or until the edges of the cookies are light golden brown. Do not overbake them, we want to keep these cookies soft and chewy.
Let the cookies cool for 5 minutes, and then transfer them to a wire rack to cool completely.
Make the cream cheese frosting
In a medium-sized mixing bowl, add the softened butter, cream cheese, vanilla extract, and salt, and mix with an electric hand mixer until fluffy and creamy, for about 3 minutes.
Add the powdered sugar, and mix until smooth and creamy. If your frosting is too thick, add a teaspoon of milk at a time and mix until you get the right consistency.
Use an offset spatula to frost each cookie with the desired amount of frosting. Top with chopped and toasted pecans and serve!
Notes
Use room temperature ingredients. You must use room-temperature ingredients like eggs and butter. This step ensures that your mixture mixes into a homogenous mixture and bakes perfectly.
Don’t overmix the batter, you don’t want to develop the gluten in the flour. This step ensures you have moist cookies and not dense and dry cookies.
Use overripe bananas for maximum flavor and natural sweetness. The riper the bananas, the more intense the banana flavor will be in your cookies.
Make sure that your butter is at room temperature. The butter should be soft to the touch. If your butter is too cold, it will be harder to mix and there will be lumps of butter in the dough.
Toast pecans before adding them to enhance their flavor. Toasting brings out the nuts' natural oils and creates a deeper, more complex taste.
Measure your flour correctly! When measuring your flour, avoid scooping it with a measuring cup. Instead, stir the flour with a spoon to create as many air pockets as possible, and spoon it into your measuring cup. Finally, level it with the back of a knife.
Line your sheet pan with parchment paper or a silicone mat! This step helps the cookies to bake evenly, and it makes sure that your brown butter chocolate chunk cookies release easily from the pan.
Use a cookie scoop to scoop out the cookies, that way you will have even-sized cookies, it ensures that your cookies bake evenly.
Allow cookies to cool completely before frosting. This prevents the cream cheese frosting from melting and sliding off the cookies.