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.

Unable to resolve module `@react-native-community/async-storage`

See original GitHub issue

Hi, 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. image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
maryasdkcommented, Jun 14, 2019

Okay thanks @jasonmerino waiting for your update

0reactions
jasonmerinocommented, Jun 13, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

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