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

This lib breaks the build in RN 0.14.0 #10

Closed
jforaker opened this issue Nov 6, 2015 · 6 comments
Closed

This lib breaks the build in RN 0.14.0 #10

jforaker opened this issue Nov 6, 2015 · 6 comments

Comments

@jforaker
Copy link

jforaker commented Nov 6, 2015

On package start you will see this error and it does not run the server because of it:

[10:37:29 AM] <START> request:/index.android.map?platform=android
Error: Naming collision detected: 
/Users/me/JAKT/crashr_react_native/node_modules/react-native-list-popover/node_modules/react-native/packager/react-packager/src/DependencyResolver/haste/polyfills/polyfills.js 

collides with /Users/me/app/node_modules/react-native/packager/react-packager/src/DependencyResolver/polyfills/polyfills.js

@gs-akhan
Copy link

gs-akhan commented Dec 1, 2015

delete node_modules and run npm install again.

@httnn
Copy link

httnn commented Dec 2, 2015

@gs-akhan that didn't work :(

@gs-akhan
Copy link

gs-akhan commented Dec 3, 2015

@bodyflex just try deleting
node_modules/react-native-list-popover/node_modules/

@Ouadie
Copy link

Ouadie commented Mar 8, 2016

Same error for me Error: Naming collision detected:, I've already tried to delete node_modules then node_modules/react-native-list-popover/node_modules/

@niftylettuce
Copy link

Same issue, I get a naming collision in 0.20.x:

Failed to build DependencyGraph: Naming collision detected: /Users/nexus/Public/MyProject/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js collides with /Users/nexus/Public/MyProject/node_modules/react-native-list-popover/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js
Error: Naming collision detected: /Users/nexus/Public/MyProject/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js collides with /Users/nexus/Public/MyProject/node_modules/react-native-list-popover/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js
    at HasteMap._updateHasteMap (HasteMap.js:132:13)
    at HasteMap.js:103:28
    at tryCallOne (/Users/nexus/Public/MyProject/node_modules/promise/lib/core.js:37:12)
    at /Users/nexus/Public/MyProject/node_modules/promise/lib/core.js:123:15
    at flush (/Users/nexus/Public/MyProject/node_modules/asap/raw.js:50:29)
    at nextTickCallbackWith0Args (node.js:452:9)
    at process._tickCallback (node.js:381:13)

@niftylettuce
Copy link

See #15 for a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants