Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shonn-Li opened this issue Dec 17, 2024 · 0 comments
Open

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

Shonn-Li opened this issue Dec 17, 2024 · 0 comments

Comments

@Shonn-Li
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant