react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

react-native-safe-area-context duplicate

Open bpavlicTMF opened this issue 3 months ago β€’ 34 comments

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?

bpavlicTMF avatar Sep 22 '25 07:09 bpavlicTMF

Same

Rodrigo816 avatar Sep 23 '25 09:09 Rodrigo816

Yeah i am also facing the same issue

DabhiParth788 avatar Sep 23 '25 12:09 DabhiParth788

Yeah i am also facing the same issue

hezhengjian avatar Sep 24 '25 07:09 hezhengjian

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?

codeonrepeat avatar Sep 25 '25 21:09 codeonrepeat

+1

abdulmateen-pb avatar Sep 26 '25 06:09 abdulmateen-pb

+1

stedda avatar Sep 26 '25 07:09 stedda

+1

ArturSousaFerreira avatar Sep 26 '25 10:09 ArturSousaFerreira

+1

FrankSwift avatar Sep 26 '25 10:09 FrankSwift

Same

tan5166 avatar Sep 26 '25 11:09 tan5166

Same

WillyAntunez avatar Sep 26 '25 21:09 WillyAntunez

Same

t-yag avatar Sep 29 '25 17:09 t-yag

Temporary fix would to be override the version in your package.json:

"overrides": {
	"react-native-safe-area-context": "~5.6.0"
},

5starkarma avatar Sep 29 '25 18:09 5starkarma

+1

ghost avatar Sep 30 '25 07:09 ghost

+1

BenStirrup avatar Oct 01 '25 13:10 BenStirrup

+1

axelmy318 avatar Oct 03 '25 08:10 axelmy318

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)

buzzreminder avatar Oct 04 '25 01:10 buzzreminder

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.

axelmy318 avatar Oct 04 '25 10:10 axelmy318

+1

gustavohariel avatar Oct 04 '25 15:10 gustavohariel

+1

sigaits avatar Oct 06 '25 04:10 sigaits

+1

dakota-kallas avatar Oct 09 '25 02:10 dakota-kallas

+1

gymmatt avatar Oct 09 '25 15:10 gymmatt

+1

igors-lambda avatar Oct 10 '25 05:10 igors-lambda

+1

nitank avatar Oct 11 '25 16:10 nitank

+1

piotr-sobczyk avatar Oct 23 '25 12:10 piotr-sobczyk

+1

Snyker avatar Oct 25 '25 15:10 Snyker

+1

ChaiyoKung avatar Oct 26 '25 10:10 ChaiyoKung

Still facing this problem

ayozebarrera avatar Nov 04 '25 13:11 ayozebarrera

+1

Thuranyi98 avatar Nov 05 '25 06:11 Thuranyi98

+1

loopmanuel avatar Nov 08 '25 18:11 loopmanuel

it is causing my builds to fail

loopmanuel avatar Nov 08 '25 18:11 loopmanuel