We conclude that YAP O-GlcNAcylation is a potential therapeutic intervention point for treating liver cancer associated with high blood glucose levels and possibly diabetes. Here, YAP1 is linked to diabetes mellitus.