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 (RN v0.17) #5025

Closed
hojberg opened this issue Dec 29, 2015 · 2 comments
Closed

Unable to resolve module (RN v0.17) #5025

hojberg opened this issue Dec 29, 2015 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@hojberg
Copy link

hojberg commented Dec 29, 2015

I'm having trouble loading some modules that for sure are in my node_modules folder.

I get the Unable to load module error in the Simulator. It also seems to be trying to find the module in /Users/node_modules ?

Here's how the error looks:
screen shot 2015-12-29 at 5 18 31 pm

Things i've tried:

  • source my .zshrc file from react-native-xcode.sh, though that seemed pointless due to it already doing the correct thing of loading my nvm.sh file.
    • Added PATH="$(npm prefix -g)/bin:$PATH to react-native-xcode.sh
    • npm cache clean
    • Fully re-installed node and npm
    • Cleared the haste cache

I'm all out of ideas :/

@hojberg hojberg changed the title Unable to resolve module (RN v 0.17) Unable to resolve module (RN v0.17) Dec 29, 2015
@christopherdro
Copy link
Contributor

Appears to be a duplicate of #4968

@hojberg
Copy link
Author

hojberg commented Dec 29, 2015

@christopherdro you're right! thanks

@hojberg hojberg closed this as completed Dec 29, 2015
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 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

3 participants