{
...
"scripts": {
"off": "expo start --offline",
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.23.1",
"@react-native-community/art": "^1.2.0",
"@react-native-community/netinfo": "9.3.10",
"@react-native-picker/picker": "2.4.10",
"@react-navigation/material-bottom-tabs": "^6.2.4",
"@react-navigation/material-top-tabs": "^6.5.3",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.0",
"@react-navigation/stack": "^6.3.1",
"@svanboxel/visibility-sensor-react-native": "^1.0.2",
"axios": "^1.1.3",
"country-data": "^0.0.31",
"expo": "^51.0.18",
"expo-av": "~13.4.1",
"expo-blur": "~12.4.1",
"expo-camera": "^15.0.13",
"expo-clipboard": "~4.3.1",
"expo-constants": "~14.4.2",
"expo-dev-client": "~2.4.11",
"expo-device": "~5.4.0",
"expo-file-system": "~15.4.4",
"expo-font": "~11.4.0",
"expo-image-picker": "~14.3.2",
"expo-linear-gradient": "~12.3.0",
"expo-localization": "~14.3.0",
"expo-media-library": "~15.4.1",
"expo-navigation-bar": "^2.5.0",
"expo-notifications": "~0.20.1",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.14",
"firebase": "^9.17.2",
"flutterwave-react-native": "^1.0.4",
"moment": "^2.29.4",
"react": "^18.2.0",
"react-hook-form": "^7.38.0",
"react-native": "^0.73.8",
"react-native-animatable": "^1.3.3",
"react-native-autocomplete-search": "^1.0.8",
"react-native-confirmation-code-field": "^7.3.1",
"react-native-country-codes-picker": "^2.2.2",
"react-native-extended-stylesheet": "^0.12.0",
"react-native-flash-message": "^0.3.1",
"react-native-gesture-handler": "~2.12.0",
"react-native-image-pan-zoom": "^2.1.12",
"react-native-indicators": "^0.17.0",
"react-native-orientation-loading-overlay": "^0.1.6",
"react-native-pager-view": "6.2.0",
"react-native-paper": "^4.12.4",
"react-native-popup-confirm-toast": "^2.2.7",
"react-native-popup-menu": "^0.16.1",
"react-native-progress": "^5.0.1",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-select-dropdown": "^2.0.4",
"react-native-snap-carousel": "^4.0.0-beta.6",
"react-native-status-bar-height": "^2.6.0",
"react-native-svg": "^15.3.0",
"react-native-switch-selector": "^2.2.1",
"react-native-tab-view": "^3.3.4",
"react-native-vector-icons": "^10.1.0",
"react-native-webview": "^13.6.3",
"rn-placeholder": "^3.0.3"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"overrides": {
"rn-placeholder": {
"react": "^18.2.0",
"react-native": "^0.73.8"
},
"@svanboxel/visibility-sensor-react-native": {
"react": "^18.2.0",
"react-native": "^0.73.8"
},
"@react-native-community/art": {
"react": "^18.2.0",
"react-native": "^0.73.8"
}
},
"private": true
}
I upgraded from sdk 49 to sdk 51 in other to get API 34 for my project. so far my project opens up well on ios device, but when i try to open in on my android emulator it gives me this error
TypeError: Cannot read property ‘expo_module_name‘ of undefined, js engine: hermes
ERROR Invariant Violation: “main” has not been registered. This can happen if: Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project. A module failed to load due to an error and AppRegistry.registerComponent
wasn’t called., js engine: hermes
› Stopped server
Please any assistance will be helpful. i have zero idea what package is causing this.
CEO is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.