async-storage: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.
What happened?
(NOBRIDGE) ERROR Warning: Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.
“dependencies”: { “@react-native-async-storage/async-storage”: “^2.1.0”, “@react-navigation/elements”: “^2.2.4”, “@react-navigation/native”: “^7.0.13”, “@react-navigation/native-stack”: “^7.1.14”, “nativewind”: “^4.1.23”, “react”: “18.3.1”, “react-native”: “0.76.4”, “react-native-mmkv”: “^3.1.0”, “react-native-onesignal”: “^5.2.7”, “react-native-reanimated”: “^3.16.3”, “react-native-safe-area-context”: “^5.0.0”, “react-native-screens”: “^4.3.0”, “react-native-svg”: “^15.10.1”, “react-navigation”: “^5.0.0”, “tailwind-rn”: “^4.2.0”, “tailwindcss”: “^3.4.16” }
This is how my package.json file looks. I installed the package using npm install and I’m still getting this error. I’m encountering this issue when running the npx react-native start --reset-cache command, not during testing. I’ve uninstalled and reinstalled the app multiple times, but the issue persists.
Version
2.1.0
What platforms are you seeing this issue on?
- Android
- iOS
- macOS
- Windows
- web
System Information
info Fetching system and libraries information...
System:
OS: macOS 15.1.1
CPU: (8) arm64 Apple M1
Memory: 481.52 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.13.1
path: ~/.nvm/versions/node/v20.13.1/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.13.1/bin/yarn
npm:
version: 10.5.2
path: ~/.nvm/versions/node/v20.13.1/bin/npm
Watchman:
version: 2024.12.02.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK:
API Levels:
- "34"
- "35"
Build Tools:
- 34.0.0
- 35.0.0
System Images:
- android-35 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12550806
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.4
wanted: 0.76.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Steps to Reproduce
I installed the package using npm install and I’m still getting this error. I’m encountering this issue when running the npx react-native start --reset-cache command, not during testing. I’ve uninstalled and reinstalled the app multiple times, but the issue persists.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18
the solution is use react native version “react-native”: “0.76.3”, instead of “react-native”: “0.76.4”, i think the updated version is the problem, in “react-native": "0.76.4” - the
react-native-document-pickeris also not working after using the “version react-native”: “0.76.3” the both npm working finedoing that still getting problem