Error Building Dependency Graph : warning.js

When I am running the build from xcode and target is my iOS device connected to the mac, I am getting this error:

Error building DependencyGraph:
Error: Naming collision detected: /Users/xxx/Documents/xx/xx/node_modules/flux/node_modules/fbjs/flow/include/warning.js collides with /Users/mguhe/Documents/xx/xx/node_modules/flux/node_modules/fbjs/lib/warning.js
at HasteMap._updateHasteMap (HasteMap.js:132:13)
at HasteMap.js:103:28
at tryCallOne (/Users/xxx/Documents/xx/xx/node_modules/react-native/node_modules/promise/lib/core.js:37:12)
at /Users/mguhe/Documents/xx/xx/node_modules/react-native/node_modules/promise/lib/core.js:123:15
at flush (/Users/mguhe/Documents/Thor/xx/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29)
at _combinedTickCallback (node.js:370:9)
at process._tickCallback (node.js:401:11)