Duplicate module name: StaticContainer.react
See original GitHub issueI am trying to run an android app and i am getting this error
Loading dependency graph...
Bundling `index.android.js`
Analysing...Failed to build DependencyGraph: @providesModule naming collision:
Duplicate module name: StaticContainer.react
Paths: C:/Users/user/mt\node_modules/react-static-container/lib/StaticContainer.react.js collides with C:/Users/user/mt\node_modules/react-native/Libraries/Components/StaticContainer.js
This error is caused by a @providesModule declaration with the same name across two different files.
Error: @providesModule naming collision:
Duplicate module name: StaticContainer.react
Paths: C:/Users/user/mt\node_modules/react-static-container/lib/StaticContainer.react.js collides with C:/Users/user/mt\node_modules/react-native/Libraries/Components/StaticContainer.js
This error is caused by a @providesModule declaration with the same name across two different files.
at HasteMap._updateHasteMap (C:/Users/user/mt/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:158:13)
at module.getName.then.name (C:/Users/user/mt/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:119:31)
Press any key to continue . . .
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Duplicate module name: react-native-vector-icons
I'm having the same exact problem arise when starting with react-native start . Running npm i does have some warnings for react-dom, react- ......
Read more >react-drag-drop-container - npm package - Snyk
DragDropContainer and DropTarget. Live demo: peterh32.github.io/react-drag-drop-container. Features. Very easy to implement and understand.
Read more >react-native-codegen | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >react-native-router-flux/CHANGELOG.md - UNPKG
1377, - Duplicate module name: react-native-packager ... 1549, - duplicated StaticContainer on `flow check` ...
Read more >reapp/reapp - Gitter
lol... yeah... do you know if a name change is possible on Git? ... I wanted to react and reapp to create some...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kabala @openqubit Could you please specify the version of native-base. And also, are you using
react-native-router-flux
. If yes, which version?Hi, the problem was related with watchman installed globally. I uninstalled it and now it’s working! Thx very much guys!