-
-
Notifications
You must be signed in to change notification settings - Fork 496
Open
Description
Provide environment information
dependencies": {
"@bacons/text-decoder": "^0.0.0",
"@expo/metro-config": "^0.19.9",
"@shopify/flash-list": "1.7.2",
"@tanstack/react-query": "catalog:",
"@trpc/client": "catalog:",
"@trpc/react-query": "catalog:",
"@trpc/server": "catalog:",
"expo": "~52.0.27",
"expo-constants": "~17.0.4",
"expo-dev-client": "~5.0.10",
"expo-linking": "~7.0.4",
"expo-router": "~4.0.17",
"expo-secure-store": "^14.0.1",
"expo-splash-screen": "~0.29.21",
"expo-status-bar": "~2.0.1",
"expo-web-browser": "^14.0.2",
"nativewind": "~4.1.23",
"react": "catalog:react18",
"react-dom": "catalog:react18",
"react-native": "~0.77.0",
"react-native-css-interop": "~0.1.22",
"react-native-gesture-handler": "~2.22.1",
"react-native-reanimated": "~3.16.7",
"react-native-safe-area-context": "~5.1.0",
"react-native-screens": "~4.5.0",
"superjson": "2.2.2"
},
Describe the bug
🐞 Bug Report: TypeError: Cannot read property 'NativeModule' of undefined
on dev:android
(Hermes)
💥 Issue
When running the project in development mode on Android (dev:android
), the app crashes with the following error:
Stacktrace
bash
com.facebook.react.common.JavascriptException: TypeError: Cannot read property 'NativeModule' of undefined, js engine: hermes
anonymous@877:166
s@2:1795
d@2:1259
i@2:498
anonymous@869:1351
...
❓ Expected Behavior
The app should run without crashing in development mode on Android
Crashes immediately with TypeError: Cannot read property 'NativeModule' of undefined.
Link to reproduction
https://github.com/pabrcno/turborepo-test
To reproduce
🛠️ Steps to Reproduce
Clone the repo
Follow Readme
Run pnpm dev (android)
Observe the crash in development mode
Additional information
No response
actionshrimp
Metadata
Metadata
Assignees
Labels
No labels