Open abdunozir opened 1 month ago
TypeError: Cannot read property 'init' of null, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent
package.json:
{ "name": "travel", "version": "1.0.0", "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "resolutions": { "@expo/config-plugins": "~6.0.0", "@expo/prebuild-config": "~6.0.0", "expo-modules-autolinking": "~1.1.0" }, "dependencies": { "@expo/vector-icons": "^14.0.0", "@react-native-async-storage/async-storage": "^1.23.1", "@react-native-community/hooks": "^3.0.0", "@react-navigation/bottom-tabs": "^6.5.20", "@react-navigation/material-bottom-tabs": "^6.2.28", "@react-navigation/native": "^6.1.17", "@react-navigation/native-stack": "^6.9.26", "@react-navigation/stack": "^6.3.29", "apisauce": "^3.0.1", "axios": "^1.6.8", "deprecated-react-native-prop-types": "^5.0.0", "expo": "^51.0.2", "expo-constants": "~16.0.1", "expo-image-picker": "~15.0.4", "expo-location": "~17.0.1", "expo-status-bar": "~1.12.1", "expo-system-ui": "^3.0.4", "formik": "^2.4.5", "lottie-react-native": "6.7.0", "q-react-native-yandexmapkit": "^0.1.4", "react": "18.2.0", "react-dom": "^18.2.0", "react-native": "0.74.1", "react-native-gesture-handler": "^2.16.2", "react-native-image-picker": "^7.1.2", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-maps": "^1.14.0", "react-native-maps-directions": "^1.9.0", "react-native-onboarding-swiper": "^1.2.0", "react-native-paper": "^5.12.3", "react-native-progress": "^5.0.1", "react-native-safe-area-context": "4.10.1", "react-native-screens": "3.31.1", "react-native-sweet-alert": "^3.5.0", "react-native-vector-icons": "^10.0.3", "react-native-video": "^5.2.1", "react-native-web": "^0.19.10", "react-native-webview": "^13.8.6", "react-native-yamap": "^4.1.18", "yup": "^1.4.0" }, "devDependencies": { "@babel/core": "^7.20.0", "metro-react-native-babel-preset": "^0.77.0" }, "private": true }
same error
https://github.com/volga-volga/react-native-yamap?tab=readme-ov-file#%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D1%81-expo
I made expo prebuild but still an error.I am running on android
TypeError: Cannot read property 'init' of null, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called., js engine: hermes.package.json: