Preheat oven to 375 degrees F. Grease a 9x13-inch baking dish with butter. If desired, line with parchment paper for easy slicing later.
In a medium bowl, combine the flour, brown sugar, baking powder, cinnamon and salt.
Add the cubed butter and use a pastry blender or your hands to work it into the dry ingredients, until the butter is the size of small peas. Work in the beaten egg.
Press half of the crumb mixture into the bottom of the prepared baking dish.
Pour all of the caramel sauce over the crumb base, spreading it into an even layer. Top with the cranberries and pecans.
Sprinkle remaining crumb mixture on top.
Bake until topping is golden brown, 25-30 minutes. Let cool before slicing. For cleanest slices, chill completely in the fridge before slicing.
You can use store-bought caramel sauce or you can make your own homemade caramel sauce. If you use store-bought, the higher quality the better (I like this brand). You'll need about 1 and 1/2, 1-lb jars.
You can use fresh or frozen cranberries. If using cranberries, thaw before using and strain to remove any liquid.
Make ahead: these bars keep very well in the fridge. Bake them up to 5 days in advance!