-
Notifications
You must be signed in to change notification settings - Fork 471
ERROR Warning: Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #1183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm experiencing the same issue. Any help would be greatly appreciated! |
Same here, I have ● Test suite failed to run
[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.
To fix this issue try these steps:
• Uninstall, rebuild and restart the app.
• Run the packager with `--reset-cache` flag.
• If you are using CocoaPods on iOS, run `pod install` in the `ios` directory, then rebuild and re-run the app.
• Make sure your project's `package.json` depends on `@react-native-async-storage/async-storage`, even if you only depend on it indirectly through other dependencies. CLI only autolinks native modules found in your `package.json`.
• If this happens while testing with Jest, check out how to integrate AsyncStorage here: https://react-native-async-storage.github.io/async-storage/docs/advanced/jest
If none of these fix the issue, please open an issue on the GitHub repository: https://github.com/react-native-async-storage/async-storage/issues
...
> 3 | import AsyncStorage from '@react-native-async-storage/async-storage';
... |
I already tried several time 🥹
เมื่อ พฤ. 13 ก.พ. 2568 เวลา 10:57 Benny ***@***.***> เขียนว่า:
… What worked for me is uninstalling the app from the Simulator and
restarting.
—
Reply to this email directly, view it on GitHub
<#1183 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7ZET2TEPU42XLD2AJGIMT2PQJ3ZAVCNFSM6AAAAABWTDIXT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJVGQYTQNJZGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
unistalling the app and installing it doesn't work |
I'm getting the same, re-installing doesn't work |
I'm experiencing the same issue. Any help would be greatly appreciated! |
Stop the Metro bundler and restart it using the |
still doesn't work |
I uninstalled the last version, installed the new version, and now it works. |
i have totally reinstalled and still get the same error. |
I have same issue. Several times clear cache, reinstalled. But this error still exists. |
What happened?
I got this error every time I delete and run start my application I try everything but it's no hope please help me
Version
"@react-native-async-storage/async-storage": "^1.24.0""@react-native-async-storage/async-storage": "^1.24.0"
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
just delete app and install everything and run start the app
The text was updated successfully, but these errors were encountered: