Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Invariant Violation: Tried to register two views with the same name RNCSafeAreaProvider [closed]

$
0
0

I got this error in my react native app which use firebase. Multiple versions of a JavaScript package that includes native dependencies is the reason for this. Following is my package.json file. How do i fix this?

{"main": "node_modules/expo/AppEntry.js","scripts": {"start": "expo start","android": "expo start --android","ios": "expo start --ios","web": "expo start --web","eject": "expo eject"  },"dependencies": {"@react-native-community/masked-view": "^0.1.10","@react-navigation/native": "^5.7.2","@react-navigation/stack": "^5.8.0","expo": "~38.0.8","expo-status-bar": "^1.0.2","firebase": "^7.17.1","react": "~16.11.0","react-dom": "~16.11.0","react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz","react-native-gesture-handler": "^1.6.1","react-native-reanimated": "^1.9.0","react-native-safe-area-context": "^3.1.1","react-native-screens": "^2.9.0","react-native-web": "~0.11.7","react-navigation": "^4.4.0","react-navigation-stack": "^2.8.2"  },"devDependencies": {"@babel/core": "^7.8.6","babel-preset-expo": "~8.1.0"  },"private": true}

Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>