Preheat the oven to 425 degrees.
In a small bowl combined the sweet potato, bell pepper, onion, and olive oil. Stir to coat the vegetables lightly with the oil. Add the spices: chili powder, garlic powder, cumin, salt, and black pepper. Stir to combine and coat the vegetables with the spices.
Pour the prepared vegetables on a large rimmed baking sheet and spread them out so they are in one even layer. Roast until the sweet potatoes are tender, about 20-25 minutes. Remove from the oven. Reduce oven heat to 350 degrees.
Place the roasted vegetables back in the bowl and add the rinsed and drained black beans and the juice of one lime, stir to combine.
In the bottom of a 9×9 inch baking dish, add 1/2 cup of the red enchilada sauce. Add a single layer of corn tortillas (use about 2 tortillas), add 1/3 of the sweet potato and bean mixture, then 1/4 of the cheese (about a half cup), and another 1/2 cups of red enchilada sauce. Repeat with more tortillas, sweet potato mixture, cheese, and sauce. Repeat with more tortillas, sweet potato mixture, cheese, and sauce. Add a final layer of corn tortilla, enchilada sauce, and then top the whole thing off with a heavy hand of cheese.
Cover the dish with aluminum foil and bake for 15 minutes. Remove the foil and bake for an additional 10 minutes. Let the dish cool for 5 minutes before serving with some chopped tomato, avocado, cilantro, and/or hot sauce on top.