There is some famous example to do with classification of simple finite groups where a big theorem had been proved over the course of many papers by various people over the years, and then when somebody tried to write a big monograph about it, they found all sorts of holes that took years to close.