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 http from... #11772

Closed
kfir91 opened this issue Jan 8, 2017 · 8 comments
Closed

Unable to resolve module http from... #11772

kfir91 opened this issue Jan 8, 2017 · 8 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@kfir91
Copy link

kfir91 commented Jan 8, 2017

Hello,
Suddenly when i run my app - "react-native start"
i got error:
https://s23.postimg.org/h85k32aaz/image.png

i tried all the options that he suggested like:
clear cache, delete watchme list, delete temp with react, and delete the app and create new app...
the error come when i use require("somemodule") ...
(i tried to reinstall the axios too).
what can i do?

i work on windows 7 and android

@tedjames
Copy link

tedjames commented Jan 8, 2017

Unfortunately, this problem has yet to be resolved. Refer to this issue for a workaround: #11498

@hramos
Copy link
Contributor

hramos commented May 25, 2017

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.

@hramos hramos closed this as completed May 25, 2017
@hramos hramos added the Icebox label May 26, 2017
@lufinkey
Copy link

lufinkey commented Jan 14, 2018

I am still having this problem. It should be reopened. Built-in modules don't seem to get resolved for some reason.

@lufinkey
Copy link

?

@robertjuh
Copy link

looks like luis shared something he didnt mean to share

@lufinkey
Copy link

I have no idea what's going on with that comment

@facebook facebook deleted a comment from caschomburg123 Jan 24, 2018
@ide
Copy link
Contributor

ide commented Jan 24, 2018

(Maintainer note: I removed a comment unrelated to this PR or React Native. Please keep the discussions in PRs on topic.)

@lufinkey
Copy link

Turns out react-native doesn't support the built-in node modules, which is why they weren't getting resolved. However that isn't documented anywhere and I had to find it out from a blog post.

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants