question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Super expression must either be null or a function in PRODUCTION

See original GitHub issue

Expected behavior

It fails in production, successful build but white page with console err

Uncaught TypeError: Super expression must either be null or a function

Actual behavior

It should have worked.

System configuration

interact.js version: 1.9.13 Browser name and version: Chrome 81 Operating System: Linux Mint

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
JonathanPicquescommented, Jun 24, 2020

For those who are using React: bumping react-scripts to ^3.4.1 and babel-loader to ^8.1.0 did the trick.

1reaction
sonicwang1989commented, Jul 24, 2020

same on 1.9.20

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Super expression must either be null ...
Class Names. Firstly, if you're certain that you're extending from the correctly named class, e.g. React.Component, not React.component or ...
Read more >
React Errors : Super expression must either be null or a ...
Firstly, if you're certain that you're extending from the correctly named class, e.g. React.Component, not React.component or React.
Read more >
React Errors : Super expression must either be null or a ...
Have you come across this error when working with React? Uncaught TypeError: Super expression must either be null or a function, not undefined....
Read more >
Uncaught TypeError: Super expression must either be null ...
After making production build i am getting this error in console and application is not getting loaded. My Environment: OS: Linux/Ubuntu ...
Read more >
Uncaught TypeError: Super expression must either be null ...
I'm getting this error when using the foundation-explicit-pieces.js and customize it to my needs. But ONLY when i use foundation build.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found