Uncaught TypeError: Super expression must either be null or a function
See original GitHub issuehey guys!
So, I spend a couple of days building a landing page with react-parallax, and everything went fine, but when I deployed the bundle strange Error happened:
Uncaught TypeError: Super expression must either be null or a function
at 5.9b604282.chunk.js:1
at 5.9b604282.chunk.js:1
at Module.<anonymous> (5.9b604282.chunk.js:1)
at r (5.9b604282.chunk.js:1)
at e.exports (5.9b604282.chunk.js:1)
at Object.<anonymous> (5.9b604282.chunk.js:1)
at s (localhost/:1)
at Module.1141 (main.02f04cab.chunk.js:1)
at s (localhost/:1)
at Object.432 (main.02f04cab.chunk.js:1)
I don’t know what causes the error, but I double checked everything – and it is certainly something with react-parallax lib, and doesn’t really depends on OS – same thing is happening on my prod server (Ubuntu) and local machine (Mac OS) when I serve the bundle. In development mode everything is ok.
The error happens when I use the basic example.
How to debug this further?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Super expression must either be null ...
This means that you want subclass something, which should be Class , but is undefined . The reasons might be: typo in Class...
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 >TypeError: Super expression must either be null or a ...
All the workarounds I'm seeing are to change the class you are extending, or upgrade a library. Can someone explain the underlying issue...
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
Thanks!!! Works perfectly now and mobile is awesome!
Updated to
3.0.3
and it seems to be working perfectly. Thanks!