Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Packager][Babel] Packager hangs indefinitely at 99%, running Examples. Caused by Babel? #5040

Closed
qbig opened this issue Dec 30, 2015 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@qbig
Copy link
Contributor

qbig commented Dec 30, 2015

screen shot 2015-12-30 at 4 50 59 pm

screen shot 2015-12-30 at 4 50 42 pm

Log

12-30 08:31:59.519 32354-32376/com.facebook.react.uiapp W/unknown:React: Could not parse DebugServerException from: {"message":"TransformError: /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/modules/createClassProxy.js: [BABEL] /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/modules/createClassProxy.js: Unknown option: /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/.babelrc.stage","type":"TransformError","errors":[{}]}

12-30 08:31:59.519 32354-32376/com.facebook.react.uiapp W/unknown:React: Could not parse DebugServerException from: {"message":"TransformError: /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/modules/createClassProxy.js: [BABEL] /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/modules/createClassProxy.js: Unknown option: /Users/qiaoliang89/Downloads/test/react-native/node_modules/react-transform-hmr/node_modules/react-proxy/.babelrc.stage","type":"TransformError","errors":[{}]}
                                                                         org.json.JSONException: No value for filename
                                                                             at org.json.JSONObject.get(JSONObject.java:355)
                                                                             at org.json.JSONObject.getString(JSONObject.java:515)
                                                                             at com.facebook.react.devsupport.DebugServerException.parse(DebugServerException.java:56)
                                                                             at com.facebook.react.devsupport.DevServerHelper$1.onResponse(DevServerHelper.java:187)
                                                                             at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:168)
                                                                             at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
                                                                             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                             at java.lang.Thread.run(Thread.java:841)
12-30 08:31:59.519 32354-32376/com.facebook.react.uiapp E/unknown:React: Unable to download JS bundle
                                                                         java.io.IOException: Unexpected response code: 500
                                                                             at com.facebook.react.devsupport.DevServerHelper$1.onResponse(DevServerHelper.java:191)
                                                                             at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:168)
                                                                             at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
                                                                             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                             at java.lang.Thread.run(Thread.java:841)

related to #4674 and #4062 ?

@facebook-github-bot
Copy link
Contributor

Hey qbig, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or something is not working as you expect but not sure it's a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

@sophiebits
Copy link
Contributor

Yes, this seems like a bug, maybe in 52b2484. Trying to fix it.

@qbig
Copy link
Contributor Author

qbig commented Dec 31, 2015

This is from master

@sophiebits
Copy link
Contributor

Should be fixed by bec9110.

@christopherdro
Copy link
Contributor

👍 Works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants