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

TypeError: Cannot read property 'shape' of undefined #51

Open
alechstong opened this issue Dec 29, 2017 · 2 comments
Open

TypeError: Cannot read property 'shape' of undefined #51

alechstong opened this issue Dec 29, 2017 · 2 comments

Comments

@alechstong
Copy link

I think it has something to do with react 16 and webpack.
Is there a quick fix?

Thank you for your time.

main.min.js?1502:1 Uncaught TypeError: Cannot read property 'shape' of undefined
    at Object.eval (main.min.js?1502:1)
    at t (main.min.js?1502:1)
    at eval (main.min.js?1502:1)
    at eval (main.min.js?1502:1)
    at eval (main.min.js?1502:1)
    at eval (main.min.js?1502:1)
    at Object../node_modules/react-fileupload/dist/main.min.js (bundle__b7b5b9e7cd.js:7663)
    at __webpack_require__ (bundle__b7b5b9e7cd.js:679)
    at fn (bundle__b7b5b9e7cd.js:89)
    at eval (testc.jsx?a25c:6)
@alechstong
Copy link
Author

yeap, it is the compatibility problem with react 16.
Solved using @vladtsf 's PR. (Thanks for the great work btw)

Hope it gets merged soon.

@studyhuang1996
Copy link

Hasn't the problem been fixed yet

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

2 participants