Because of the use of cocoa powder in this choux pastry, you can't rely on the typical golden brown colour of a baked choux as an indication to their doneness. The eclairs should have puffed nicely in the oven and the crust look completely dry. If the shell feel soft to the touch, it usually means that the eclairs are underbaked and they will likely collapse once out of the oven.