Skip to content

Yalc publish --push to existing project triggers error #248

Open
@Shonn-Li

Description

@Shonn-Li

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions