A man with a gun was fighting fiercely in a dark street as gunfire echoed through the house.