react-native-safe-area-context duplicate
In Expo SDK 54 React Nativeβs SafeAreaView component has been deprecated: use react-native-safe-area-context
When I run npx expo-doctor I am getting:
Found duplicates for react-native-safe-area-context: ββ [email protected] (at: node_modules\react-native-safe-area-context) ββ [email protected] (at: node_modules\react-native-calendars\node_modules\react-native-safe-area-context)
Can you update react-native-safe-area-context to 5.6.1?
Same
Yeah i am also facing the same issue
Yeah i am also facing the same issue
I'm new to this. Is there a fix or a work around? or do we just wait around for somebody to fix the issue?
+1
+1
+1
+1
Same
Same
Same
Temporary fix would to be override the version in your package.json:
"overrides": {
"react-native-safe-area-context": "~5.6.0"
},
+1
+1
+1
Same here, however, my iOS builds fine, my android fails!
Found duplicates for react-native-safe-area-context: ββ [email protected] (at: node_modules/react-native-safe-area-context) ββ [email protected] (at: node_modules/react-native-calendars/node_modules/react-native-safe-area-context)
Same here, however, my iOS builds fine, my android fails!
Maybe you have some other issues causing the build to fail ? That was my case. I lost a bit of time thinking it was that when it actually was an issue with react-native-reanimated.
+1
+1
+1
+1
+1
+1
+1
+1
+1
Still facing this problem
+1
+1
it is causing my builds to fail