That can’t happen. The president is elected by the electoral college in some extremely convoluted rules.
If any state appoints electoral votes then “the person having the greatest number of votes for President, shall be the President, if such number be a majority of the whole number of Electors appointed.” So if only one state casts electoral votes, they pick the president, and at least one state would presumably vote then.
If there are electoral votes cast without a majority candidate, then “the House of Representatives shall choose immediately, by ballot, the President. But in choosing the President, the votes shall be taken by states, the representation from each state having one vote; a quorum for this purpose shall consist of a member or members from two-thirds of the states, and a majority of all the states shall be necessary to a choice.”
One vote per state leans republican. Oh and they can only vote for people that recieved at least 1 electoral vote
If there were no election at all (no state appoints electoral votes), then normal succession rules would be in play. But if there is no election then there are no representatives in the house (as of Jan. 3) because their terms end before the president’s (Jan. 20). Which means that the acting president would have to come from the Senate. But there are no clear rules for who exactly would be in the senate without an election (some states let governors appoint, some don’t), so the short answer is no one fucking knows what would happen without an election