More details can be found https://stackoverflow.com/questions/74870072/typeerror-class-extends-value-undefined-is-not-a-constructor-or-null-when-using I am also trying to use antlr4-c3 in my project too, but got similar errors. I guess my yarn pnp or jest not set up properly. please provide help. thanks