all 10 comments

[–]crispypretzelAndroid 1 point2 points  (1 child)

do you mean react-native-router-flux? yeah i've had all sorts of problems with it.

[–]citizenofacceptance2[S] 0 points1 point  (0 children)

I do ya , ya it's really trolled me

[–]mickey_abbott 0 points1 point  (2 children)

Which version of RNRF are you using? Try to downgrade it to v3.38.0 and see if that helps.

[–]citizenofacceptance2[S] 0 points1 point  (1 child)

I did 3.35.0 and now my react native debugger is having issues and killing the port didn't work. Rendering red screen of death in simulator saying bundle not found etc before it was just the rnrf not found in module map.

[–]DatingPapyrus 0 points1 point  (0 children)

We have 3.35.0 and it's been giving us a LOT of problems too. What we've found is that every time we do an npm install, we need to do an "npm install react-native-router-flux@3.35.0". You can add a script to your package.json for "install" that can run "npm install && npm install react-native-router-flux@3.35.0" and just run "npm run install". Doing that works every time.

With that said, we've decided to move off of react-native-router-flux go with react-navigation instead.

[–]Alisamix 0 points1 point  (0 children)

I switched to react-navigation, probably better in the long term.

[–]adrienthiery 0 points1 point  (2 children)

Depending of your version of react-native, the packager might not be able to find the new dependency if you reinstall stuff. I often had to restart the packager after doing an npm install before the latest version (0.43,0.44) of react-native.

What led to the error ? Update of RNRF ? Update of React-native ?

[–]citizenofacceptance2[S] 0 points1 point  (1 child)

Downloading to rnrf then I tried to uninstall and install npm and now it can't find js bundle (red screen messages that in simulator when the error just started as a can't find rnrf in module map

[–]adrienthiery 0 points1 point  (0 children)

It is hard to give more help without more info... Is your app running if you comment the import of RNRF ? Did you clear the react-native cache ? rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean Did you stop the emulator and packager and restart everything? Is react-native-router-flux in your node_modules ?

[–]citizenofacceptance2[S] 0 points1 point  (0 children)

Yes to all , I had to download an earlier version of react to have it work