Class extends value undefined is not a constructor or null
See original GitHub issueIssue :
When I run my project using node ts-node/register
I don’t get any errors,
however with ts-jest I receive the following:
● Test suite failed to run
TypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (../node_modules/google-gax/src/grpc.ts:110:43)
at Object.<anonymous> (../node_modules/google-gax/src/index.ts:32:1)
The file grpc.ts doesn’t actually exist, it’s a JS file really. I wonder why it’s trying to include grpc.ts when only a js file exists.
Expected behavior :
ts-jest should be able to run file like ts-node without the above error.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Class extends value undefined is not a function or null - Stack ...
I am getting the following error when trying to create these entities. TypeError: Class extends value undefined is ...
Read more >Class extends value undefined is not a constructor or null in ...
Describe the bug On using 3.53.0 version of "@aws-sdk/client-*" packages, we are getting the following error on running our tests: ...
Read more >TypeError: Class extends value undefined is not a ... - Drupal
Initial searching seems to imply that this indicates an issue with a circular dependency. Might have to be a separate issue, but there...
Read more >typeerror: class extends value undefined is not a ... - You.com
TypeError : Class extends value undefined is not a function or null. Start > Run > AppWiz.cpl > Uninstall node.js. Delete the node...
Read more >TypeError: Class extends value undefined is not a constructor ...
[moved to issue] Tutorial problem: TypeError: Class extends value undefined is not a constructor or null - Get Help and Help Others -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i also go through thr same problem as a begginer.my fault is that i just use c instead of C in component.i know that is very silly mistake.
I was getting the same error since it was my first time with component. The error was instead of writing Component ,i wrote component. so check whether it is C or c .