fullstackreact/react-native-firestack

Duplicate module name

lobo922 opened this issue · 0 comments

Hi,
I created a new project and installed firestack and when i try to build my project i get the following error in cmd:
Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: Image
Paths: D:\fbcounter_fs\node_modules\react-native\Libraries\Image\AssetSourceResolver.js collides with D:\fbcounter_fs\node_modules\react-native\Libraries\Image\AssetRegistry.js

This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: Image
Paths: D:\fbcounter_fs\node_modules\react-native\Libraries\Image\AssetSourceResolver.js collides with D:\fbcounter_fs\node_modules\react-native\Libraries\Image\AssetRegistry.js

This error is caused by a @providesModule declaration with the same name across two different files.
at HasteMap._updateHasteMap (D:/fbcounter_fs/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:158:13)
at module.getName.then.name (D:/fbcounter_fs/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:119:31)