debuggerWorker.js:18Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope' Error
See original GitHub issueAfter much frustration and testing potential edge cases, I finally have some form of a debug connection between my computer and my physical device when running a basic (the init code) React Native app on an iPhone through XCode. I am unable to get a debug bridge or a hot reload workflow up and running. I can get these scenarios working on my work computer but not at home.
The connection is picked up by my http://localhost:8081/debugger-ui window, however React Packager does not establish a connection with a client. I am left with an uncaught network exception for main.jsbundle
These problems are as a result of running react-native init testApp
so no code modification have yet been made.
I can get around this error by disabling remote debugging, but that negates the usefulness of the tooling supplied by React Native in my opinion.
In the interest of brevity, the hot reloading and JS debug bridge does work in the virtual Simulator on the computer. I have also tried to change the IP address in RCTWebSocketExecutor.m to my computers local address. This alleviated prior issues (namely: Runtime is not ready for debugging and WebSocket Connection failed Code=61 errors).
Hopefully someone has come across these problems.
My environment is: Mac OSX 10.11.6 Node: 5.11.1 React-native: 0.30.0
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:8 (4 by maintainers)
try disabling debugger, sometimes it masks the real error