Argentina was ruled by a military junta at the time, which fell after the country's defeat in that war.
I don't know about Ecuador and Peru throughout that period, but Egypt has long had only a facade of democracy.
The closest thing to a war between liberal democracies that I know of is the fight over fishing rights between Britain and Iceland some time in the past 20-30 years. Their navies were involved, and one person died.