question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null

See original GitHub issue

When I run npm start the following error is generated.

Details:

  • I have already tried running npx react-native link @react-native-community/async-storage and restarted the build with all the options shown in the screen.

while running pod install there are still errors - ERROR | attributes: Missing required attributehomepage. - WARN | source: The version should be included in the Git tag. - WARN | description: The description is equal to the summary.

image

Can anyone help, what’s wrong with the steps?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
lucocommented, Feb 7, 2020

Same here. "react-native": "0.61.5",

EDIT

using use_native_modules! on pod worked!

1reaction
NashidBcommented, Feb 19, 2020

I’m having the same exact issue.

I installed same version as you for react native.

Here’s my package.json { “scripts”: { “android”: “react-native run-android”, “ios”: “react-native run-ios”, “web”: “expo start --web”, “start”: “react-native start”, “test”: “jest” }, “dependencies”: { “@react-native-community/async-storage”: “^1.8.0”, “@signalwire/react-native”: “^1.0.1”, “expo”: “~36.0.0”, “react”: “~16.9.0”, “react-dom”: “~16.9.0”, “react-native”: “~0.61.5”, “react-native-gesture-handler”: “~1.5.0”, “react-native-incall-manager”: “^3.2.7”, “react-native-reanimated”: “~1.4.0”, “react-native-screens”: “2.0.0-alpha.12”, “react-native-unimodules”: “~0.7.0”, “react-native-web”: “~0.11.7”, “react-native-webrtc”: “^1.75.3” }, “devDependencies”: { “@babel/core”: “~7.6.0”, “babel-jest”: “~24.9.0”, “jest”: “~24.9.0”, “metro-react-native-babel-preset”: “~0.56.0”, “react-test-renderer”: “~16.9.0” }, “jest”: { “preset”: “react-native” }, “private”: true } and I added the use_native_modules! right before end, then stopped and expo started and still same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react native - NativeModule: AsyncStorage is null, with @RNC ...
To fix this issue try these steps: -Run `react-native link @react-native-community/async-storage` in the project root. -Rebuild and restart the ...
Read more >
NativeModule: AsyncStorage is null · Issue #768 - GitHub
Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. To fix this issue try these steps: • Rebuild and restart the app.
Read more >
ERROR Error: [@RNC/AsyncStorage]: NativeModule - Medium
ERROR Error : [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null. Rebuild and restart the app. Run the packager with '--reset-cache' flag.
Read more >
Error ReactNative AsyncStorage is null iOS-React Native
target 'YourApp' do #The line below pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage' target 'YourAppTests' do inherit ...
Read more >
NativeModule: AsyncStorage is null EXPO EAS app - Reddit
Error : [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null EXPO ... AsyncStorage with it: https://react-native-async-storage.github.io/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found