Preheat the oven up to 400 degrees Fahrenheit.
Cut the sweet potatoes into strips, like the shape of potato fries. Toss with the foil.
Mix pepper, salt and other spices in a bowl. Toss the sweet potatoes with them. Prepare the baking sheets and spread the sweet potatoes on it.
Bake the sweet potatoes until they’re crisp and brown. Cooking takes up 15 minutes of time. After that, flip to the other side then bake until crisp.
Serve while it’s still hot along with the crab cakes.