jest-haste-map: Haste module naming collision: React Native error – How to fix ?
This error occurs when you have multiple config files sharing same name. For me this error occured when I had two package.json files, one in the current directory and one outside the directory, by mistake of course.
The following files share their name; please adjust your hasteImpl: * <rootDir>/workspace/package.json * <rootDir>/package.json
To fix this error I just had to remove the irrelevant one.
Leave a Reply