CRISPR library screening identifies candidate genes with loss of function that confers lapatinib resistance in HER2-amplified GC cells. Here, ERBB2 is linked to gastric cancer.