Incompatible with React Native >=0.7.1: More than one plugin attempted to publish the same registration name, `onError`
See original GitHub issueThe application won’t start due to the error, as in title:
This is because react native RCTImageViewManager
already publishes an event onError
, for discussion see: https://github.com/facebook/react-native/issues/1952
I have a solution to this in my fork, will test it works and submit a PR to fix.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Multiple errors after switching to 0.8.0-rc · Issue #1952 - GitHub
Incompatible with React Native >=0.7.1: More than one plugin attempted to publish the same registration name, onError ...
Read more >React Native Android build failure with different errors without ...
The build failures for Android was due to the publish of the React Native version 0.71.0-rc0 . Note: Error may be different but...
Read more >Changelog | Meteor API Docs
_retrieveCredentialSecret() fails trying to get credentials inside Accounts.oauth.tryLoginAfterPopupClosed(), we call it again once more.
Read more >Changelog | Cypress Documentation
The .within() command now requires a single subject and throws an error if given more than one subject. This change adds consistency around...
Read more >Error Handling in React 16 – React Blog
To solve this problem for React users, React 16 introduces a new concept of an “error boundary”. Error boundaries are React components that ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am still getting this issue with the onError function for Android. I’m on a recent version of ReactNative. Anyone else getting this issue, or know what could cause it?
By the way, does npm install work or does it need to be git cloned?
@undef1ned Thanks for the feedback!
Finally found that it is indeed the
onError
event inreact-native-youtube
that is the culprit (in my app). I don’t quite know how to properly fix it, but after renaming the following instance of"onError"
the error is gone and the app starts. Hope this helps anyone else in actually fixing the problem properly…