A months-long inventory glitch in the state-run wholesale warehouse has led to barren shelves at stores across the state.