Anonymous
Ошибка «попытка зарегистрировать два представления с одинаковым именем RNCSafeAreaProvider» на IOS
Сообщение
Anonymous » 04 мар 2026, 19:26
Я получаю следующую ошибку при запуске собственного приложения React с помощью expo на iPhone (на 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": "expo eject"
},
"dependencies": {
"@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"
},
"devDependencies": {
"@babel/core": "^7.9.0"
},
"private": true
}
Любая идея будет оценена по достоинству.
Подробнее здесь:
https://stackoverflow.com/questions/669 ... rror-on-io
1772641572
Anonymous
Я получаю следующую ошибку при запуске собственного приложения React с помощью expo на iPhone (на Android оно работает правильно) Изображение ошибки прилагается. package.json [code]{ "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": { "@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" }, "devDependencies": { "@babel/core": "^7.9.0" }, "private": true } [/code] Любая идея будет оценена по достоинству. Подробнее здесь: [url]https://stackoverflow.com/questions/66991289/tried-to-register-two-views-with-the-same-name-rncsafeareaprovider-error-on-io[/url]