I'm building a react native project. I kept my backend folder named sanity in app folder. My metro bundler colliding with app/package.json with app/sanity/package.json while opening in android but working with web. My terminal showing the below error.
jest-haste-map: Haste module naming collision: quick-bhai The following files share their name; please adjust your hasteImpl: * \package.json * \sanity\package.json