-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
react-native.js: Unable to find this module in its module map or any of the node_modules directories #7686
Comments
This is caused by a breaking change in 0.26.
|
@jmurzy - I'm unsure whether this is the issue. I've gone through all my modules and checked that the imports are valid (is their a way to double check this?), the error doesn't say which file has the import issue?! |
+1 |
Same problem here, already requiring everything from the react. |
@Alexintosh - If you come across a fix, post it here! |
+1 |
I found out what was wrong. You must have If this doesn't fix the issue for you guys, then double check all your imports follow the new |
@jamesone Is there a link somewhere to the new react-native rules? |
While doing tutorials which require npm installs mid way, after almost every npm install I had this error come up. |
rodolph66's suggestion fixed my issue with semantic-ui and create-react-app |
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).
The text was updated successfully, but these errors were encountered: