reactjs / react-art

React Bridge to the ART Drawing Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build DependencyGraph: Naming collision detected: /node_modules/react-art/node_modules/fbjs/flow/include/TouchEventUtils.js

faceyspacey opened this issue · comments

After adding the React Art .xcodeproj to my build phases, I get this issue every once in a while. I remove its fbjs package from node_modules and it fixes itself.

I'm wondering if there is another way that avoids this name collision.

Here's the exact issue I get:

Failed to build DependencyGraph: Naming collision detected: /Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/react-art/node_modules/fbjs/flow/include/TouchEventUtils.js collides with /Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/react-art/node_modules/fbjs/lib/TouchEventUtils.js
Error: Naming collision detected: /Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/react-art/node_modules/fbjs/flow/include/TouchEventUtils.js collides with /Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/react-art/node_modules/fbjs/lib/TouchEventUtils.js
    at HasteMap._updateHasteMap (HasteMap.js:132:13)
    at HasteMap.js:103:28
    at tryCallOne (/Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/promise/lib/core.js:37:12)
    at /Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/promise/lib/core.js:123:15
    at flush (/Users/jamesgillmore/React/react-native-scrollable-tab-view/examples/FacebookTabsExample/node_modules/asap/raw.js:50:29)
    at _combinedTickCallback (node.js:370:9)
    at process._tickCallback (node.js:401:11)

Sometimes its other files in fbjs/flow that collide.