Description
I get this error when I yalc publish --push after a change in my module and then running my expo react native bare workflow on ios with npx expo run:ios
Failed to construct transformer: Error: TreeFS: Could not add directory node_modules/whisper.rn, adding node_modules/whisper.rn/package.json. node_modules/whisper.rn already exists in the file map as a file.
at TreeFS.bulkAddOrModify (node_modules/metro-file-map/src/lib/TreeFS.js:264:17)
at FileMap._applyFileDelta (node_modules/metro-file-map/src/index.js:500:16)
at node_modules/metro-file-map/src/index.js:197:9
at DependencyGraph.ready (node_modules/metro/src/node-haste/DependencyGraph.js:78:5)
at Bundler.ready (node_modules/metro/src/Bundler.js:50:5)
at IncrementalBundler.ready (node_modules/metro/src/IncrementalBundler.js:266:5)
at Server.ready (node_modules/metro/src/Server.js:1150:5)