Was the US "invaded" in the midst of an ongoing revolution, by an overwhelming force intended to warp its very society? No. It threw off its already existing, but sorely outnumbered colonial authority. It wasn't an invasion. It was a revolution in itself. And the US had all the advantage in its war for independence, especially considering France helped them out.
Chile didn't have that. Argentina didn't.
And even with this caveat, Vietnam and Cuba still stand as examples of socialism not "falling apart the fiest time something goes wrong". They had overwhelming force against them and still succeeded. So that point doesn't even work.
This is just conservative propaganda