react-native
React Native native module not found
Native module.*cannot be null|TurboModuleRegistry.*not found|NativeModules.*undefined
Fixes
- 1.Run npx pod-install (iOS) or rebuild the project after adding native deps
- 2.For New Architecture, ensure the module implements TurboModule interface
- 3.Check autolinking: npx react-native config to verify the module is detected
react-nativenative-moduleslinking
Related Errors
react-native3 fixes
Metro bundler crash or port conflict
Metro.*error|metro bundler.*crashed|EADDRINUSE.*8081
- •Kill existing Metro process: npx kill-port 8081
- •Clear Metro cache: npx react-native start --reset-cache
react-native3 fixes
React Native Android Gradle build failure
Gradle.*BUILD FAILED|execution failed for task.*:app:
- •Run cd android && ./gradlew clean then rebuild
- •Check android/gradle.properties for JVM memory: org.gradle.jvmargs=-Xmx4g
react-native3 fixes
iOS code signing / provisioning error
Signing.*error|Code Sign error|provisioning profile.*not found|CODESIGNING
- •Open Xcode, select team in Signing & Capabilities, let Xcode manage signing
- •Ensure the provisioning profile matches the bundle identifier