React-native-router-flux: (0, _reactNavigation.withOrientation) is not a function. (In '(0, _reactNavigation.withOrientation)(Header)', '(0, _reactNavigation.withOrientation)' is undefined)

Created on 26 Aug 2018  路  13Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:
4.0.0-beta.27

  • react-native-router-flux v4.?.? (v3 is not supported)
  • react-native ~0.51.0

Expected behaviour

It was a working project now the application is not responding with these errors.

Actual behaviour

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.

invalid needs response from author

Most helpful comment

i was solved this problem :

  1. change my project to another dir
  2. rf -rf node_modules, ios, android
  3. i am using yarn to install all packages not npm

i hope you try my solution hehe

All 13 comments

There is no way to help with the information provided here. Please fill the information from the template.

I am getting the exact same issue.

Like I said - without information about how to reproduce the error, an Example or at least an explanation there is no way to help.

@daviscabral I understand. I will try to make a detailed submission soon.

@ptmaroct thank you.

some problem with me

Please provide a https://stackoverflow.com/help/mcve or enough information to reproduce this error. Closing this issue for the lack of information by all the users that complained about it since it was opened.

same here, just updated to 4.0.1

i was solved this problem :

  1. change my project to another dir
  2. rf -rf node_modules, ios, android
  3. i am using yarn to install all packages not npm

i hope you try my solution hehe

I was facing the same issue after upgrading to 4.0.1. Just restarting packager and rebuilding the app and everything is fine.

@nagacoder that's right - when upgrading react-native versions you need to update your platform folders - usually using the git upgrade tool. Thanks for sharing your solution.

I fixed it by upgrade react-navigation > 2.0.0
With react native version of 0.51
"react-navigation": "^2.0.0",

same problem :(

from "^3.43.0"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kirankalyan5 picture kirankalyan5  路  3Comments

booboothefool picture booboothefool  路  3Comments

sarovin picture sarovin  路  3Comments

maphongba008 picture maphongba008  路  3Comments

GCour picture GCour  路  3Comments