Skip to content

Upgrade to 0.50.1 - Bundling index.js error: bundling failed: Error of metro-bundler #16738

Description

@oriharel

Because of issue #16737 I had to do a workaround (which I'm still not sure works) of saving a backup copy of the pre-upgrade xcodeproj file and pasting it again after upgrading. Now the project loads on XCode, but I can't run the app. I get this error in the packager:

Loading dependency graph, done.
Bundling `index.js`  [development, non-minified]  0.0% (0/1), failed.
error: bundling failed: Error
    at DependencyGraph.getAbsolutePath (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/node-haste/DependencyGraph.js:322:11)
    at DependencyGraph.getDependencies (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/node-haste/DependencyGraph.js:300:4465)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:135:29
    at Generator.next (<anonymous>)
    at step (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:830)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:1060
    at Promise (<anonymous>)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:13:741
    at Resolver.getDependencies (/Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Resolver/index.js:151:46)
    at /Users/oriharel/oriApp/anoo/anooClient/node_modules/metro-bundler/src/Bundler/index.js:660:39

Any help?

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions