Unable to resolve module `@react-native-community/async-storage`
See original GitHub issueHi, I just updated to react-native 0.59.8 from 0.58. I updated as well to react-native-simple-storage from 1.3.0 to 2.0.0 to remove the warning regarding async-storage.
I am getting the following error on runtime:
Unable to resolve module @react-native-community/async-storage
from /Users/maryasadek/RN/Washmen/node_modules/react-native-simple-store/dist/index.js
: Module @react-native-community/async-storage
does not exist in the Haste module map
I tried resetting node modules, and the cache, but it did not help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
`unable to resolve module @react-native-community/async ...
Since AsyncStorage is deprecated, I tried to install @react-native-community/async-storage following the official documentation.
Read more >Unable to resolve module `@react-native-community/async ...
Bug: I had this error, when i import this library in react-native Unable to resolve module `@react-native-community/async-storage` from ...
Read more >Error: Unable to resolve module `@react-native-community ...
It is showing this error. I tried to install another package as told in StackOverflow like `@react-native-community/async-storage. And I tried ...
Read more >`unable to resolve module @react-native-community/async ...
How I got this error. Since AsyncStorage is deprecated, I tried to install @react-native-community/async-storage following the official documentation.
Read more >Installation | Async Storage - GitHub Pages
Link. Android & iOS. Requires React Native 0.60+. CLI autolink feature links the module while building the app. On iOS, use CocoaPods to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay thanks @jasonmerino waiting for your update
It looks like
@react-native-community/async-storage
was only added as a devDependency. 😕I’ll look into adding that as a normal dependency and see if I can add in the linking step as a
postinstall
script so that part of the setup isn’t needed anymore.