Skip to content

ERROR Warning: Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. #1183

Open
@fai07600521

Description

@fai07600521

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?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

Bridgeless mode is enabled
 (NOBRIDGE) ERROR  Warning: Error: [@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
 INFO  
 💡 JavaScript logs will be removed from Metro in React Native 0.77! Please use React Native DevTools as your default tool. Tip: Type j in the terminal to open (requires Google Chrome or Microsoft Edge).
 (NOBRIDGE) LOG  Running "SampleApp" with {"rootTag":1,"initialProps":{"concurrentRoot":true},"fabric":true}
 (NOBRIDGE) ERROR  Invariant Violation: "SampleApp" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and AppRegistry.registerComponent wasn't called. it don't work none of every work I frustrate already please help me straight

Steps to Reproduce

just delete app and install everything and run start the app

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions