Hi @ayush_agarwal ,
I think there are missing references for the Granite library missing, but this should not be happening in general because Granite is an AEM Global Library.
So, I suggest trying adding granite Dependency manually & see if this problem persists. here is give steps to do so.
S...