Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Class extends value undefined is not a constructor or null when using yarn pnp and typescript4 #2

Open
chengchengpei opened this issue Dec 21, 2022 · 1 comment

Comments

@chengchengpei
Copy link

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

@mtriff
Copy link
Collaborator

mtriff commented Dec 21, 2022

It looks like you haven't set Jest up correctly for running Typescript tests, you can use ts-jest or follow the Babel configuration described in the Jest docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants