我正在使用本机0.59.10创建一个项目当我想安装reac-navigation时,react-native-gesture-handler和react-native-reanimated。我收到错误消息,并且项目未构建,是否应该使用每个版本的特定版本?
由于您正在使用react-native 0.59.10
该库的最新版本,所以可能不兼容。
根据您的要求,
react-native-gesture-handler
版本介于1.1.0
和1.4.0
之间。 Check this official documentation了解更多信息。react-navigation
需要react-native@^0.54.x
。由于[email protected]
取决于新的React.createContext
API,该API已在[email protected]
中添加。