renative
renative copied to clipboard
Android eject fails if no extensions are passed
Describe the bug
error SHA-1 for file /Users/mihaiblaga/project/packages/app-preview/index.js (/Users/mihaiblaga/project/packages/app-preview/index.js) is not computed.
Potential causes:
1) You have symlinks in your project - watchman does not follow symlinks.
2) Check `blockList` in your metro.config.js and make sure it isn't excluding the file path.
ReferenceError: SHA-1 for file /Users/mihaiblaga/project/packages/app-preview/index.js (/Users/mihaiblaga/project/packages/app-preview/index.js) is not computed.
Potential causes:
1) You have symlinks in your project - watchman does not follow symlinks.
2) Check `blockList` in your metro.config.js and make sure it isn't excluding the file path.
at DependencyGraph.getSha1 (/Users/mihaiblaga/project/node_modules/metro/src/node-haste/DependencyGraph.js:217:13)
at Transformer._getSha1 (/Users/mihaiblaga/project/node_modules/metro/src/Bundler.js:26:26)
at Transformer.transformFile (/Users/mihaiblaga/project/node_modules/metro/src/DeltaBundler/Transformer.js:106:19)
at Bundler.transformFile (/Users/mihaiblaga/project/node_modules/metro/src/Bundler.js:60:30)
@mihaiblaga89 how should this be tested?
being able to eject an android app sucessfully. npx rnv eject -p android
1.0.0-rc.7
npx rnv eject -p android
-> creates cli-platform-ios
on node_modules
on rc.10 same happens as what @GabrieleKaceviciute highlighted in comment
@ElenaDiachenko this is not relevant anymore as rnv eject
is deprecated (migrated out of rnv into separate integration)