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

1.1.0, 1.1.1 - error when starting the pooled timer #129

Open
bubenkoff opened this issue Dec 26, 2020 · 9 comments
Open

1.1.0, 1.1.1 - error when starting the pooled timer #129

bubenkoff opened this issue Dec 26, 2020 · 9 comments

Comments

@bubenkoff
Copy link

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

Getting this error in production build only, for some reason

@headzoo
Copy link
Owner

headzoo commented Dec 30, 2020

Is there any kind of stacktrace? Any differences between dev and production, like different operating systems?

@bubenkoff
Copy link
Author

as it's a production build, there's not much known unfortunately
it's a browser app, no difference in browsers prod vs dev
do you run the recent version in production with no problem?

@maoryadin
Copy link

maoryadin commented Jan 17, 2021

Same for me, happen only in production.
something related to react-moment.

Operation systems difference:

dev - Windows.
production - Linux.

typeError

@maoryadin
Copy link

Solved by downgrade to version 0.9.7

@bubenkoff

@bubenkoff
Copy link
Author

@maoryadin yes, I also 'solved' it like this

@headzoo
Copy link
Owner

headzoo commented Jan 19, 2021

Are either of you using UglifyJS in your webpack config? Adding keep_fnames: true to your UglifyJS config might fix the problem.

@bubenkoff
Copy link
Author

@headzoo yes I do, but keeping ALL the fnames will increase the bundle quite a lot, which function name exactly should be preserved?

@martinvergara26
Copy link

Same problem here

@loudbel
Copy link

loudbel commented Feb 28, 2023

same with reactjs 18.02 , any new solution ?

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

5 participants