I don't think there's ever a case where the electoral college itself has ever been the problem. The problem is the same one that plagues local elections but in a different form: there isn't proportional voting.
At the national level, states allocate all of their electors to the candidate that wins the popular vote in that state. If a candidate wins 51% of the state's votes they get 100% of the electors. That has historically been the reason presidents win despite losing the popular vote, not because of the college itself. Even without the college, if states allocated their voting power that way, you'd have the exact same problem.
At the local level the problem is more confined in that an individual can only put all of their influence behind a single candidate. This forces one to choose the least bad option.
The solution at all levels is proportional voting. States should allocate their electors according to the proportion of votes candidate receive. This needs some thought to do because it's impossible to allocate exactly proportionally, but it's a simple problem to address. At least two states do this. For every election I'm aware of where the president won despite losing the popular vote, this would have prevented that.
At all levels, something like ranked choice voting (there are other possibilities) allows voters to support multiple candidates, letting them give the most support for the candidate they genuinely prefer, but giving a hedge to support a candidate they do t love but that's better than their worst candidate. This could be applied on top of a state's system for allocating electors.
This is probably a top 3 priority for creating a workable government instead of this shit show we have now. It's gaining significant reactions with several states using some sort of proportional system, but there's heavy opposition from the current policitians. They know if it gets through, they'll lose their elections, and won't be able to jerk around their constituents. If you're sick of one shit party vs another shit party, do everything you can to support proportional voting at all levels, and to get your state to allocate electors proportionally (not like the NPV pact does).