-
Notifications
You must be signed in to change notification settings - Fork 81
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
EventPluginRegistry: Cannot inject event plugin ordering more than once. #42
Comments
Hi, I really don't know what's happening here. Can you try to remove react-native from package.json? Maybe that's the issue |
hi Vvo, thanks for your quick reply. here's below my package.json. If you see any problem.
|
I would try to remove packages/code and see when the issue disappears/when it appears. As soon as you can prove here that react-element-to-jsx-string when present and called in a particular setup triggers an issue, we can work on it. First you need to figure out with the minimum setup, how to reproduce the issue. Once you have that, create a github repository and we will have a look, in the meantime I cannot help you more unfortunately. This is too vague as an issue to be solved, for now. |
appreciated, I'll work on it and let you know. |
@vvo Here's a minimal project reproducing this bug: seekshiva/JsxToStringBugRepro If you run the project, you will get the error: "EventPluginRegistry: Cannot inject event plugin ordering more than once." Once you comment out all occurrences of |
thanks a lot guys, it worked :) On Thu, Sep 8, 2016 at 8:41 PM, Shiva Nandan notifications@github.com
|
@ominiverdi Can you share what you did to get it working? I'm facing the same problem now. |
Yep @ominiverdi it seems you solved the issue but how? I also fear it's a React "problem", see: facebook/react-native#8007 |
See here: reduxjs/react-redux#230 (comment) This used to be a problem with with react-native shipping its own version of react and not using npm react (facebook/react-native#2985) but that issue was resolved and react-native now requires 'react' as a peerDependency. So I'm not sure why we get this error now. |
@vvo FWIW, this issue doesn't exist when I use the react-to-jsx library mentioned in README. |
@seekshiva did you fix it in the end? |
I had a tight schedule and had to push something out soon, so I ended up using react-to-jsx. |
Allright no prob |
trying to install all at latest version:
I got first errors about missing modules:
On the import of the module:
anything I'm missing?
The text was updated successfully, but these errors were encountered: