question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jest-haste-map: @providesModule naming collision:

See original GitHub issue

Really 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:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mfrachetcommented, Jul 10, 2017

Super cool, let’s merge, and publish 0.0.7 😄

0reactions
kcfglcommented, Jul 10, 2017

@mfrachet I can confirm that I was able to install without any errors or warnings - even on @44.3

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found