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

Super expression must either be null or a function #84

Closed
chay-0206 opened this issue Oct 24, 2019 · 10 comments
Closed

Super expression must either be null or a function #84

chay-0206 opened this issue Oct 24, 2019 · 10 comments

Comments

@chay-0206
Copy link

我在生产环境页面打开会直接报错Super expression must either be null or a function,但是在本地开发环境是没问题的。其他人是否也遇到了同样问题?
版本: "react": "^16.8.6",
"react-dom": "^16.8.6",
"react-viewer": "^3.0.0"

@infeng
Copy link
Owner

infeng commented Oct 25, 2019

可以贴一下 webpack 配置吗

@ZiQiangWang
Copy link

遇到了相同的问题

@chay-0206
Copy link
Author

遇到了相同的问题

可以贴一下 webpack 配置给作者吗?我这边是公司封装起来的,配置很多,看起来特别乱...

@infeng
Copy link
Owner

infeng commented Oct 28, 2019

可以暂时用 2.x 版本,我今天找一下问题

@chay-0206
Copy link
Author

可以暂时用 2.x 版本,我今天找一下问题

辛苦了,感谢

@infeng
Copy link
Owner

infeng commented Oct 28, 2019

可以的话,贴一下你们用到 react-viewer 那部分代码,和具体的错误堆栈

@federicofalavigna
Copy link

HI! I'm having the same issue! Please, let us know if you have any approach (in english if possible, LOL)

@miho7031
Copy link
Contributor

#85 I resolved.

@infeng
Copy link
Owner

infeng commented Oct 30, 2019

Fixed in v3.0.1

@infeng infeng closed this as completed Oct 30, 2019
@federicofalavigna
Copy link

Thank you! I'll try it!

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