jest-haste-map: @providesModule naming collision:
See original GitHub issueReally looking forward to using this library, looks awesome. But I’m getting a naming collision when I install.
I’m on RN@44.3
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
Duplicate module name: react-native
Paths: .../node_modules/react-native/package.json collides with /.../node_modules/rn-placeholder/node_modules/react-native/package.json
What is the best way to fix this issue? Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Error: jest-haste-map: @providesModule naming collision ...
This error is caused by hasteImpl returning the same name for different files. Error: jest-haste-map: Haste module naming collision: Duplicate ...
Read more >Error: jest-haste-map: Haste module naming collision
I tried npm install /absolute/path/to/xxx and it linked module correctly. By correctly I mean I can see react-native-xxx package in nodemodule ...
Read more >[Solved]-Error: jest-haste-map - appsloveworld
Coding example for the question Error: jest-haste-map: @providesModule naming collision when using a local dependency-React Native.
Read more >React Native @providesModule naming collision error - Medium
This warning is caused by a @providesModule declaration with the same name across two different files. Failed to build DependencyGraph: @ ...
Read more >Jest-haste-map: Haste module naming collision
jest-haste-map : Haste module naming collision: react-native. The following files share their name; please adjust your hasteImpl:
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 Free
Top 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
Super cool, let’s merge, and publish 0.0.7 😄
@mfrachet I can confirm that I was able to install without any errors or warnings - even on @44.3