Reputation: 131
What intended doing
The first work well
the second task have warnings
Steps in the Second task
Install React Navigation
npm install react-navigation --legacy-peer-deps
Install Dependencies
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
Install React Navigation Stack
npm install react-navigation-stack @react-native-community/masked-view --legacy-peer-deps
Start the app and clear cache with expo r -c
Warning Logs
Compiled with warnings. C:/Users/GBENGE AONDOAKULA/Documents/Node/food/node_modules/react-native-gesture-handler/lib/module/index.js "export 'ComposedGestureType' (reexported as 'ComposedGesture') was not found in './handlers/gestures/gestureComposition'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'ComposedGestureType' (reexported as 'ComposedGesture') was not found in './handlers/gestures/gestureComposition'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'ExclusiveGestureType' (reexported as 'ExclusiveGesture') was not found in './handlers/gestures/gestureComposition'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'FlingGestureType' (reexported as 'FlingGesture') was not found in './handlers/gestures/flingGesture'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'ForceTouchGestureType' (reexported as 'ForceTouchGesture') was not found in './handlers/gestures/forceTouchGesture'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'GestureStateManagerType' (reexported as 'GestureStateManager') was not found in './handlers/gestures/gestureStateManager'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'LongPressGestureType' (reexported as 'LongPressGesture') was not found in './handlers/gestures/longPressGesture'
node_modules/react-native-gesture-handler/lib/module/index.js "export 'ManualGestureType' (reexported as 'ManualGesture') was not found in './handlers/gestures/manualGesture'
Upvotes: 0
Views: 1763
Reputation: 993
Try to downgrade the version of react-native-gesture-handler
to 1.10.3
.
It works for me.
npm install [email protected]
Upvotes: 0