android - react-native Error building DependencyGraph -


after running react-native run-android following error, have no idea here installed standard way using npm i

error building dependencygraph: error: naming collision detected: /users/guerilla/code/reactnative/node_modules/react-native/node_modules/fbjs/lib/csscore.js collides /users/guerilla/code/reactnative/node_modules/react/node_modules/fbjs/lib/csscore.js 

two ways can work around that

  1. it seems npm 3 handles duplicate dependencies better old versions of npm delete node_modules folder, upgrade npm 3 , run npm again, should solve problem

  2. manually install fbjs on top level, ie add dependency in package.json file , manually delete occurences of fbjs in other modules use same 1 on top level


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -