Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

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

@faceyspacey

Description

@faceyspacey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions