Skip to content

react-native.js: Unable to find this module in its module map or any of the node_modules directories #7686

Description

@jamesone

I've just upgraded to RN 0.26.1, all the xCode is fine without any errors, but when it comes to starting the simulator it throws the following error:

2016-05-23 13:49:49.714 [fatal][tid:main] Unable to resolve module ReactNative from /Users/james/apps/xxxNEW/node_modules/react-native/Libraries/react-native/react-native.js: Unable to find this module in its module map or any of the node_modules directories under /Users/node_modules/ReactNative and its parent directories

Now I went ahead and looked at the node_modules/react-native/Libraries/react-native/react-native.js file, it's there.

Just to mention I've cleared the watches, deleted and re-installed the node_modules, and cleared the package cache, and I'm still getting the same error!

Any ideas to why this is happening?

I should also add that I'm using cocoa pods for the fbsdk kit (not sure this matters though).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions