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 after updating to 5.2.0 #238

Closed
yasir-netlinks opened this issue Dec 30, 2019 · 2 comments · Fixed by #248
Closed

Unable to resolve module after updating to 5.2.0 #238

yasir-netlinks opened this issue Dec 30, 2019 · 2 comments · Fixed by #248

Comments

@yasir-netlinks
Copy link

I am getting the error below after updating from 5.0.0 to 5.2.0

Screen Shot 2019-12-30 at 14 28 05

Your Environment

software version
react-native-offline ^5.2.0
react-native 0.61.5
node v12.4.0
npm 6.9.0
@LawEKS
Copy link

LawEKS commented Jan 24, 2020

In the same boat...

Were you able to resolve this issue yourself?

@LawEKS
Copy link

LawEKS commented Feb 3, 2020

I was having a similer issue with react-native-svg and found this: software-mansion/react-native-svg#1165 (comment)

I had the same issue, with same steps and same outcome. Figured out that in my app.json i had
"packagerOpts": { "config": "metro.config.js", "sourceExts": ["js","jsx","svg",] },
insead of
"packagerOpts": { "config": "metro.config.js", "sourceExts": [ "js","jsx","svg","ts","tsx"] },
changing that fixed my issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants