You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modulePathIgnorePatterns is not being applied from my config. I am getting the following error in react-native:
jest-haste-map: Haste module naming collision: react-native
The following files share their name; please adjust your hasteImpl:
* <rootDir>/../shared/package.json
* <rootDir>/../.nexus/build/shared/package.json
This is happening because I ran a build locally of my nexus server that uses the shared module. Even after adding many combinations of modulePathIgnorePatterns the error still persists. Here is the jest config with the things that I have tried.
jest-haste-map: Haste module naming collision: ...
The following files share their name; please adjust your hasteImpl:
* <rootDir>/package.json
* <rootDir>/build/package.json
I've also tried mucking around with modulePathIgnorePatterns.
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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
modulePathIgnorePatterns
is not being applied from my config. I am getting the following error in react-native:This is happening because I ran a build locally of my nexus server that uses the shared module. Even after adding many combinations of modulePathIgnorePatterns the error still persists. Here is the jest config with the things that I have tried.
To Reproduce
Not sure how to do this yet. We use yarn workspaces with these packages.
Expected behavior
I would not see the error
envinfo
The text was updated successfully, but these errors were encountered: