Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined is not a function (evaluating '(0, _reactNavigation.DrawerNavigator)(routeConfigs, drawerNavigatorConfig)') #7

Open
girishpadia opened this issue Nov 25, 2018 · 9 comments

Comments

@girishpadia
Copy link

When I run the code on the emulator, I am getting following error.

undefined is not a function (evaluating '(0, _reactNavigation.DrawerNavigator)(routeConfigs, drawerNavigatorConfig)')

index.js:50:28
loadModuleImplementation
require.js:320:6
guardedLoadModule
require.js:207:45
metroRequire
require.js:136:24
global code

screenshot_1543165274

@shravanteegala
Copy link

shravanteegala commented Dec 28, 2018

iam facing same problem.
How can it solve ?

@girishpadia
Copy link
Author

girishpadia commented Dec 29, 2018

I couldn't solve it yet. But I guess it is due to different version of react-navigation.

@islammuezzinoglu06
Copy link

This will work with the command.
npm i [email protected]

@zaheen1234
Copy link

That worked like a charm!!!
Thanks buddy, I am amazed no one appreciated your answer yet.

@bharathjoshi
Copy link

Thanks a lot @islammuezzinoglu06

@LineR-Gtz
Copy link

Thanks a lot @islammuezzinoglu06

@ranjats
Copy link

ranjats commented Dec 4, 2019

But after run this command .i am unable to load app in my device.Only showing starting metro bundle

@Cengoist12
Copy link

Thanks a lot @islammuezzinoglu06

@dysuryawanshi
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants