-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
RemoteJs Debug Enabling crashs after Upgrade to v0.50.1 . #16674
Comments
Seeing the same exact error/stack trace on 0.50.1 when running |
+1 First run ok. Then reload code. Crash
|
Oddly, I can't reproduce this consistently. I've seen it on iOS once and a co-worker was unable to get past the error message Reverting to a previous version of React Native for now… |
I'm also seeing the |
@aubreywahl , It seems as a high priority bug definition . |
this is happening to me as well |
Facing same issue |
"react-native run-ios", this is happening to me as well |
Having the same problem |
@saeedtabrizi Is the problem solved? |
Hi @Guodadada , The short asnwer is NO . Update : |
Is this still happening to some guys? I upgraded my react-native version yesterday to 0.50.0 but the debugger was not working. Today, I did what @saeedtabrizi said (
Any help on this please? I can still use logcat but debugger is more helpful |
@Blapi , Did you clean or reset the cache . |
Yes I did, still not working.. |
Using Chromium instead of Chrome did the trick, thanks for the answer @saeedtabrizi ! |
Still happening in 0.50.3 |
@sospedra I was in the same situation as you, working without debugging was hard and I was using logcat for Android.. Then I tried to use Chromium instead of Chrome and my problem was solved, give it a try? |
@Blapi we move to 0.49.5 instead, ty anyway |
reload the chrome tab/restart chrome is ok now |
Dear all, I fixed it by below steps
worker.postMessage({
worker.postMessage(
|
This error is happening to me in
|
any solution? |
I had the latest version (0.53) and I downgraded to 0.51 (because with the 0.52 I got a different error) and the debug is working now. Edit: For whom the 0.51 isn't working as well, try the 0.50 or 0.49. After the downgrade I ran: Building a React Native app is more about fixing issues than developing... |
@rafaelgrilli92 "Building a React Native app is more about fixing issues than developing..." SAD, BUT TRUE Android debugger isn't working for me. I´m with 0.53 and debugging only in ios |
@andfs I have the same problem but I need to work on Android. Did you find any solution? |
always a few broken versions before there is a good one again with this project. |
What I'm doing is an ugly workaround. I start my debugger in ios simulator. Then I close it and start my android. And works! |
If you ever arrive here from a timeout from Genymotion emulator, check if the address in your tab is correct: here the emulator was generating a tab on 10.0.3.2, which is the internal IP for the Android VM; you should actually access the debugger UI at localhost:8081. |
Strangely, that works. I think it's something to do with the boot-up in the AVD emulator versus the iOS simulator. Notice that the emulator launches with an actual debugger IP on the browser but the simulator does a "localhost:8081". I'm still unclear what exactly is happening around here but this is as far as I could investigate to get my boat sailing |
@itsmebins I changed the code likewise and reload and connected to debugger .. connected. PS: I also tried changing the code back to original .. but still was able connect/disconnect the debugger |
@victorileaf |
@niccolatorres Refer answer by @itsmebins commented on 21 Dec 2017 |
@igorsantos07 is right. Just a tip:
https://stackoverflow.com/questions/40898934/unable-to-connect-with-remote-debugger |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: Linux 4.13
Node: 9.0.0
Yarn: 0.27
npm: 5.5.1
Watchman: Not Found
Xcode: N/A
Android Studio: 3.0 AI-171.4408382
Packages: (wanted => installed)
react: ^16.0.0 => 16.0.0
react-native: ^0.50.1 => 0.50.1
Steps to Reproduce
react-native-git-upgrade
.react-native run-android
SyntaxError: Unexpected token <
message.also i have use clear cache commands and reinstall npm modules.
Expected Behavior
Just normally load js in debug mode .
I Think something goes wrong in js bundler for enabling debugging mode .
Except the enabling remote js debugging mode everything works OK even the hot reloading and i can see the changes normally .
Actual Behavior
Shows white screen and a timeout message after the seconds that show the js file not loaded because there is a critical error happened .
The text was updated successfully, but these errors were encountered: