One person died and others were injured in an explosion that police are investigating as a possible terrorist attack.