Well, it shouldn't be saying that in the first place. Could you quote the error? Are you on LWC 3.31?