Skip to content
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

Unable to resolve module react-native-community/async-storage #1899

Closed
paarasbhandari opened this issue Jun 21, 2019 · 3 comments
Closed

Unable to resolve module react-native-community/async-storage #1899

paarasbhandari opened this issue Jun 21, 2019 · 3 comments

Comments

@paarasbhandari
Copy link

Simulator Screen Shot - iPhone X - 2019-06-21 at 00 20 38

@google-oss-bot
Copy link
Contributor

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@hsubox76
Copy link
Contributor

This is caused by this recent change: #1879

I think that the problem is that it's only checking for the very specific error code 'MODULE_NOT_FOUND' and perhaps a different error code is being thrown in Expo. Currently working on a fix that will try to require the React Native core bundled AsyncStorage after any error on the first require call.

In the meantime, the quickest fix would be to install @react-native-community/async-storage into your React Native project as it will be required in the future anyway (React Native is deprecating the version bundled with React Native core).

We're also working on getting documentation to reflect this.

@hsubox76
Copy link
Contributor

Duplicate of #1898

@hsubox76 hsubox76 marked this as a duplicate of #1898 Jun 21, 2019
@firebase firebase locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants