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
lJTSImageViewController library not found & Naming collision detected #2
Comments
This error never happens to me. Try to delete node_modules folder inside /Users/mac1/Dev/React/React30/node_modules/react-native/ and rerun from '.xcworkspace' file. |
I removed "node_modules" and ran the .xcworkspace file. I still get the "RCTRootView.h" file not found error. |
not sure why but I google it, it seems that npm install can solve this issue. Make sure npm install on the React30 folder. |
Ok it builds now- but getting the Name collisions detected error:
|
should not have /Users/mac1/Dev/React/React30/node_modules/react/node_modules folder. The only node_modules folder is under React30. Delete it? Also node_modules/promise/node_modules |
Ok- I deleted "/Users/mac1/Dev/React/React30/node_modules/react/node_modules". I have noticed- there are 'node_modules' folders inside of '/Users/mac1/Dev/React/React30/node_modules/react-native/' and a few other folders. Do I need to remove all of them? Also- I do not have a folder called 'promise'. Is your last comment saying to delete it? |
I think you do. In the error message, it says... /Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js. Delete the node_modules under promise. |
Looks like it need that module? I deleted node_modules from promise as you said
|
Then I guess you can't delete that. If it still doesn't work, you can try to redo the process. Since you have installed cocoapods. Just git clone and npm install in the right folder. It works fine last time I tested. |
Hi,
Looks like nice work with this.
I've followed your instructions, but I've run into an issue (seems like it was mentioned before- but I'm using the latest repo & having the issue). I've done theses steps.
Open: the '.xcodeproj' file gives me this error:
ld: warning: directory not found for option '-L/Users/mac1/Dev/React/React30/ios/build/Debug-iphoneos' ld: library not found for -lJTSImageViewController
Opening the '.xcworkspace' file gives me this error:
Failed to build DependencyGraph: Naming collision detected: /Users/mac1/Dev/React/React30/node_modules/react/node_modules/fbjs/lib/warning.js collides with /Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/fbjs/lib/warning.js Error: Naming collision detected: /Users/mac1/Dev/React/React30/node_modules/react/node_modules/fbjs/lib/warning.js collides with /Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/fbjs/lib/warning.js at HasteMap._updateHasteMap (HasteMap.js:132:13) at HasteMap.js:103:28 at tryCallOne (/Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/promise/lib/core.js:37:12) at /Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/promise/lib/core.js:123:15 at flush (/Users/mac1/Dev/React/React30/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29) at nextTickCallbackWith0Args (node.js:420:9) at process._tickCallback (node.js:349:13)
Running 'react run-ios' gives me this error:
The text was updated successfully, but these errors were encountered: