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

ReactEventEmitter error after upgrade to react 0.9.0-rc1 #1119

Closed
mablack opened this issue Feb 18, 2014 · 2 comments
Closed

ReactEventEmitter error after upgrade to react 0.9.0-rc1 #1119

mablack opened this issue Feb 18, 2014 · 2 comments

Comments

@mablack
Copy link

mablack commented Feb 18, 2014

I've just upgraded a previously working app, and running the app throws the following error in Chrome:

ReactEventEmitter.js:254
Uncaught TypeError: Cannot read property 'length' of undefined 

I don't get a more detailed stack trace though, sorry.

The app was previously working without errors with react 0.8.
I've also upgraded the react-touch-lib dependency to 0.0.4, and created a fork of the react-touch-lib repo to update the react dependency to 0.9.0-rc1 - just in case the existing dependency on react 0.8 was causing the issue.

@sophiebits
Copy link
Collaborator

I think petehunt/react-touch-lib#1 should fix this for your use case. Perhaps we should also make the code work if there are no dependencies listed -- but probably all event plugins will have dependencies so maybe best to leave required as-is.

@mablack
Copy link
Author

mablack commented Feb 18, 2014

Thanks, that fixes my issue!!

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