when update the expo from (16.0.0) to (24.0.0) and react navigation from (git+https://github.com/react-community/react-navigation.git) to (^1.0.0-beta.21) version, this error occured
相关问题
- React Native Inline style for multiple Text in sin
- How Do I Convert Image URI into Byte Expo
- ApolloClient from apollo-boost attemped to assign
- Implementing ssl pinning in a react-native applica
- React-Native: Enable Performance Monitor in produc
相关文章
- Why do we have to call `.done()` at the end of a p
- Remove expo from react native
- React Native - Dynamic Image Source
- “Unfortunately, app has stopped” error with buildi
- eslint Parsing error: Unexpected token =
- How to determine JS bottlenecks in React Native co
- How to override navigation options in functional c
- PanResponder snaps Animated.View back to original
Simply, change to "react-navigation": "1.0.0-beta.26" from "react-navigation": "1.0.0-beta.20"
Finally found out how to solve this, its an undocumented DrawerNavigatorConfig:
Look here: https://github.com/react-community/react-navigation/issues/3148#issuecomment-352778884
remove ^ from package json before react-nativetion package
it should be look like this "react-navigation": "1.0.0-beta.20"
not "react-navigation": "^1.0.0-beta.20" (^ means you are allowing npm install to the install latest version which is the cause of the problem )
after removing ^ you have to delete your node_module and then Run npm install this will install correct packages for your current project