catch random npm history error