You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade to 0.50.1 - Bundling index.js error: bundling failed: Error of metro-bundler #16738
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
changed the title [-]error: bundling failed: Error of metro-bundler[/-][+]Bundling `index.js` error: bundling failed: Error of metro-bundler[/+]on Nov 7, 2017
changed the title [-]Bundling `index.js` error: bundling failed: Error of metro-bundler[/-][+]Upgrade to 0.50.1 - Bundling `index.js` error: bundling failed: Error of metro-bundler[/+]on Nov 7, 2017
Hey @oriharel, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!
Activity
[-]error: bundling failed: Error of metro-bundler[/-][+]Bundling `index.js` error: bundling failed: Error of metro-bundler[/+][-]Bundling `index.js` error: bundling failed: Error of metro-bundler[/-][+]Upgrade to 0.50.1 - Bundling `index.js` error: bundling failed: Error of metro-bundler[/+]react-native-bot commentedon Nov 7, 2017
@facebook-github-bot no-template
facebook-github-bot commentedon Nov 7, 2017
Hey @oriharel, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!
How to Contribute • What to Expect from Maintainers
chocky335 commentedon Nov 9, 2017
@oriharel You should compile your index.android.js & index.ios.js to index.js
rpavlovs commentedon Nov 29, 2017
Same issue. I only have
index.js.hmenzagh commentedon Nov 30, 2017
Same here, I'm sure there is a good reason but I don't get it
fpyang commentedon Dec 5, 2017
I fix the issue by following @chocky335's comment
arapocket commentedon Jan 29, 2018
Same issue even after changing index.ios.js to index.js
jrumbut commentedon Mar 12, 2018
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!