Upgrade to 0.50.1 - Bundling `index.js` error: bundling failed: Error of metro-bundler
See original GitHub issueBecause 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
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Metro bundler - Expo Documentation
This will show you an interactive breakdown of what makes up your JavaScript bundle. Using this, you can find large packages that you...
Read more >react-native, bundling failed - Stack Overflow
First close your JavaScript bundler (Metro bundler in my case) and restart the application. This will create fresh dependency graph.
Read more >[Metro Bundler] Maximum call stack size exceeded (when ...
Actual Behavior. The bundling fails with a stack overflow. There's no clear indication what is causing the behavior because there's no stack ...
Read more >Metro Bundler Crashing - ADocLib
I'm accustomed to Metro Bundler opening up in a new window as soon as I type ... when upgrading to 0.50.1 #16689 The...
Read more >expo starting metro bundler | The AI Search Engine You Control
React Native using Expo : Error: Metro Bundler process exited with code 1 ... npx expo start and npx expo export to bundle...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue. I only have
index.js
.My project had an edited AppDelegate.m file and I needed to change the line that looked like (though in my case not exactly like)
to reflect the change to index.js instead of index.ios.js. Hope that helps someone!