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.

react-devtools agent got no connection

See original GitHub issue

Do you want to request a feature or report a bug? Yes, I want to report a bug

What is the current behavior? I cann’t see anything in react-devtools when debuging react-native app in iPhone simulator but received some warnings as follow: image image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn’t have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:

What is the expected behavior?

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? react: 16.0.0-alpha.12 react-native-cli: 2.0.1 react-native: 0.47.1 react-devtools: 4.2.0 xcode: 10.3 macos: 10.15

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

38reactions
bowencoolcommented, Oct 18, 2019
npm i -g react-devtools@3 

It works for me.

0reactions
WilbertJanneycommented, Aug 18, 2020

Same thing for me. I had to install v3 in order to prevent this error for iOS simulator debugging.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-devtools agent got no connection in react native with expo
I was getting the same error, using React Native Debugger (v11), using React Native Debugger (v10) solve my problem. Here's the link from...
Read more >
react-devtools agent got no connection - Code Grepper
react -devtools agent got no connection · Oops, You will need to install Grepper and log-in to perform this action.
Read more >
react-devtools - npm
This package can be used to debug non-browser-based React applications (e.g. React Native, mobile browser or embedded webview, Safari). React ...
Read more >
Using React Devtools - React NativeScript
Step 1: Install dependencies · Step 2: Initialise the Devtools · Step 3: Set up security · Step 4: Run the Devtools ·...
Read more >
How to use the react-devtools-core.connectToDevTools ... - Snyk
To help you get started, we've selected a few react-devtools-core. ... (agent: any) => { console.log(`Got 'react-devtools' callback!`); ...
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