You may have cut them too big or unevenly, which means your potatoes may need more time to cook. You can add a small splash of water to the pan, place the lid back on and allow the sweet potatoes to steam for five minutes if not completely cooked through.