I assume the no-knock warrant was to prevent him from flushing evidence. Nevertheless, civilians in the building testified that they pounded on the door and announced themselves as police.
The first person to shoot was the drug dealer boyfriend. She was killed in the police response to that.
Sad situation which still boils down to: Obey the orders of police officers. Do not fight them. Do not shoot at them. If you think you don't deserve the attention from them, file a complaint later.