-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Naming collision error when running react-native packager #2222
Comments
Does this still happens on Jest 18.1 and react-native 38+ with Jest's |
This is still happening, I'm using Jest 18.1 with react-native 0.41 |
Same issue here. I'm using Jest 19.0.2 with I made an issue on the react-native page too: facebook/react-native#13364 |
Can anybody please provide me solution for this, i have same issue. |
It is broken with react-native 0.43.2 It is working with this packages.config
also see: https://github.com/andreipt/VanillaReactNative |
I'm running into this. 😢 Is Jest supposed to deduplicate packages with the same Jest version: 23.6.0 |
Jest has removed its haste support, the implementation comes from RN's preset: https://github.com/facebook/react-native/blob/02697291ff41ddfac5b85d886e9cafa0261c8b98/jest/hasteImpl.js Probably worth an issue on RN? I think this isn't something to fix here, I might be wrong, though! |
@SimenB I'm referring to this error specifically: There's currently no way to configure |
With that said, I guess Metro should just disable the |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
In a
react-native
project I get the following naming collision error while running packager, that seems to come fromjest-haste-map
:If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can
npm install
andnpm test
.react-native start --reset-cache
throws the "naming collision error":react-native start --reset-cache
is executed successfully:What is the expected behavior?
Packager should run successfully.
Run Jest again with
--debug
and provide the full configuration it prints. Please mention your node and npm version and operating system.npm: 3.10.8
node: v7.0.0
The text was updated successfully, but these errors were encountered: