sunlight3d / react_native_v0.49

243 stars 318 forks source link

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

Open girishpadia opened 5 years ago

girishpadia commented 5 years ago

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](https://user-images.githubusercontent.com/339269/48978623-2b994c80-f0d4-11e8-96ce-fdabbd95697b.png)
shravanteegala commented 5 years ago

iam facing same problem. How can it solve ?

girishpadia commented 5 years ago

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

islammuezzinoglu06 commented 5 years ago

This will work with the command. npm i react-navigation@1.0.0-beta.23

zaheen1234 commented 5 years ago

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

bharathjoshi commented 5 years ago

Thanks a lot @islammuezzinoglu06

LineR-Gtz commented 5 years ago

Thanks a lot @islammuezzinoglu06

ranjats commented 4 years ago

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

Cengoist12 commented 4 years ago

Thanks a lot @islammuezzinoglu06

dysuryawanshi commented 4 years ago

Thanks a lot!