renative icon indicating copy to clipboard operation
renative copied to clipboard

Android eject fails if no extensions are passed

Open mihaiblaga89 opened this issue 1 year ago • 4 comments

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 avatar Dec 19 '23 19:12 mihaiblaga89

@mihaiblaga89 how should this be tested?

pauliusguzas avatar Dec 20 '23 11:12 pauliusguzas

being able to eject an android app sucessfully. npx rnv eject -p android

mihaiblaga89 avatar Jan 03 '24 08:01 mihaiblaga89

1.0.0-rc.7 npx rnv eject -p android -> creates cli-platform-ios on node_modules

and_eject

GabrieleKaceviciute avatar Jan 03 '24 10:01 GabrieleKaceviciute

on rc.10 same happens as what @GabrieleKaceviciute highlighted in comment

pauliusguzas avatar Feb 22 '24 14:02 pauliusguzas

@ElenaDiachenko this is not relevant anymore as rnv eject is deprecated (migrated out of rnv into separate integration)

pavjacko avatar Apr 29 '24 07:04 pavjacko