question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

debuggerWorker.js:18Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope' Error

See original GitHub issue

After 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

screen shot 2016-08-01 at 22 37 48

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:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

13reactions
wolverinekscommented, Jul 26, 2017

try disabling debugger, sometimes it masks the real error

5reactions
farooqmajeedcommented, Jul 1, 2017

image kindly any one tell how to solve this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught NetworkError: Failed to execute 'importScripts' on ...
I am trying to import json data from web worker using importScripts , the following error occurs.
Read more >
Uncaught NetworkError: Failed to execute ... - GitHub
If I open the debug page in Chrome, the console show me this error: "debuggerWorker.js:18 Uncaught NetworkError: Failed to execute ' ...
Read more >
Failed to execute 'importScripts' on 'WorkerGlobalScope' Error ...
debuggerWorker.js:18Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope' Error. Nicolas Charpentier.
Read more >
Failed To Execute 'Importscripts' On 'Workerglobalscope ...
The steps which might lead to this error are the following: After that the green header debuggerWorker.js:18 Uncaught NetworkError: Failed to execute.
Read more >
[HELP]Failed to execute 'importScripts' on 'WorkerGlobalScope'
I want to integration ACE Editor( https://ace.c9.io/ ) in PowerBI,but got error: error info. got warning in HTML: right status.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found