相关疑难解决方法(0)

IOS 上出现“尝试注册两个具有相同名称 RNCSafeAreaProvider 的视图”错误

在 iPhone 上使用 expo 运行 React Native 应用程序时,我收到以下错误(在 Android 上它工作正常)

附有错误的图像。

另外,这是我的package.json文件:

{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start -- ios",
"web": "expo start --web",
"eject": "expoject"
},

“依赖关系”:{
“@expo/vector-icons”:“^12.0.4”,
“@react-native-community/masked-view”:“^0.1.10”,
“axios”:“^0.21.1 ",
"expo": "~40.0.0",
"expo-app-loading": "^1.0.1",
"expo-font": "^9.0.0",
"expo-status-bar": " ~1.0.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive /sdk-40.0.1.tar.gz",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.0.1",
"react-native-safe -area-context": "3.1.9",
"react-native-screens": "^2.18.1",
"react-native-web": "~0.13.12",
"react-navigation": "^ 4.4.4",
"react-navigation-header-buttons": "^7.0.0",
"react-navigation-stack": "^2.10.4",
"react-redux": "^7.2.3",
“redux”:“^4.0.5”
},

"devDependency": …

ios react-native expo

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

expo ×1

ios ×1

react-native ×1