Tell us which versions you are using:
Expected to load the scene like previous version (RN 0.42.3)
Simulator complains about being unable to find the RecyclerViewBackedScrollView within React-Native.
npm install -g react-native-git-upgrade
react-native-git-upgrade
Does that solve it?
Also, if you're using master you should delete react-native-router-flux's node_modules/
Looks like deleting react-native-router-flux's node_modules/ fixed it, but I did run it after installing and running react-native-git-upgrade.
Is this something that has to be done after every clean install?
After every npm install. Unless you stop using the master branch
the master branch for react-native-router-flux?
Yes.
Or just rollback to v 3.38.0
npm install --save [email protected]
edited:
https://github.com/facebook/react-native/pull/11445
RN has officially deprecated this component :(
to fix this, just remove below line from your code
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}
tried rollback to 3.38.0 and also tried to upgrade from 0.43.4 to 0.44.
Still throws me an error on RecyclerViewBackedScrollView
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}
Same issue
"react": "15.5.4",
"react-native": "0.44.0",
"react-native-router-flux": "^3.38.1",
same issue on v4
"react-native-router-flux": "^4.0.0-beta.32",
@aksonov any help?
error: bundling failed: Error: Unable to resolve module mobx-react/native from /Users/mac/madabox/node_modules/react-native-router-flux/dist/Router.js: Module mobx-react/native does not exist in the Haste module map
@akinolu52 How do you solve it at end?
maybe it need https://github.com/mobxjs/mobx-react
Yeah; That is what I used @colorfulberry
To solve this problem I had to explicitly state the version
"react-native-router-flux": "3.38.0",
If you do:
"react-native-router-flux": "^3.38.0",
Then the later version with the 127 phantomChildren libraries will be used instead and break building. Corporate sabotage?
To avoid duplicating my comment: https://github.com/aksonov/react-native-router-flux/issues/960#issuecomment-424953838. 馃槤
same issue on v4
"react-native-router-flux": "^4.0.0-beta.32",
@aksonov any help?
error: bundling failed: Error: Unable to resolve module
mobx-react/nativefrom/Users/mac/madabox/node_modules/react-native-router-flux/dist/Router.js: Modulemobx-react/nativedoes not exist in the Haste module map
I have encountered the same problem, upgraded to version 4.0.5, the problem disappeared.
Most helpful comment
edited:
https://github.com/facebook/react-native/pull/11445
RN has officially deprecated this component :(
to fix this, just remove below line from your code
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}tried rollback to 3.38.0 and also tried to upgrade from 0.43.4 to 0.44.
Still throws me an error on RecyclerViewBackedScrollView
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}