EventPluginUtils.getLowestCommonAncestor (responderInst, targetInst) failed.

I recently updated my native apps app to use the latest version (i.e. 0.44). The app runs fine in simulator and mobile, however whenever a component is clicked like a button or some other widget, a red error screen appears with the following error:

screenshot of the error when app running on a mobile device

Also, when running the app on the ios or android simulator, the error tastes slightly different:

image

Any ideas?

+3


source to share


2 answers


Hi this function has been moved to another class, you may be using a non-updatable component that looks for a function in its previous location. you can either downgrade the RN or see if the component is updated

position before



position after

0


source


I have the same problem after updating to react-native0.44. Then I realized it had something to do with react-native-router-flux. Version: 3.38.1

Changed dependencies in package .json under response-native-router-stream from the following:

"lodash.isequal": "^4.5.0",
"react": "^15.4.2",
"react-addons-pure-render-mixin": "^15.4.2",
"react-dom": "^15.4.2",
"react-native": "^0.41.2",
"react-native-experimental-navigation": "0.26.x",
"react-native-tabs": "^1.0.9",
"react-static-container": "1.0.1"

      



Following:

"lodash.isequal": "^4.5.0",
"react": "^16.0.0-alpha.12",
"react-addons-pure-render-mixin": "^15.4.2",
"react-dom": "^15.4.2",
"react-native": "^0.44.0",
"react-native-experimental-navigation": "0.26.x",
"react-native-tabs": "^1.0.9",
"react-static-container": "1.0.1"

      

Then run npm install in the. / Node_modules / react-native-router-flux folder.

0


source







All Articles