In short, you have to plan for possible challenges and hire people with the skills to tackle these challenges and who know how to build a startup. It boils down to your startup process and the ability to identify the gaps in your own knowledge and skills.
The next important thing to remember is that your startup team is not temporary, and should stay with you through the years to come. That means they should be passionate about your idea, and their values should match yours.
At the same time, they should be different enough to allow room for creativity and complement each other’s strengths and weaknesses.