react icon indicating copy to clipboard operation
react copied to clipboard

Bug: react-devtools crash at start

Open Jumbostan opened this issue 2 years ago • 3 comments

I am trying to debug a React Native app with react-devtools but when I launch it, it shows a blank window for about 2 seconds an closes. It doesn't show any error in the console. I tried with npx, npm global and yarn

I tried several versions 4.x.x and the result is the same It work with versions 3.x.x but can't connect with React Native

SO: Ubuntu 22.04.1 node :16.16.0 npm: 8.11.0

Jumbostan avatar Aug 06 '22 12:08 Jumbostan

Hey! What versions of React Native and React DevTools are you using?

lunaruan avatar Aug 17 '22 20:08 lunaruan

Hey! What versions of React Native and React DevTools are you using?

Hi, I'm using react-devtools 4.25.0, RN 0.69.4. I also tried in a virtual machine with Ubuntu 22.04.1 in a different host and the error is the same... react-devtools crash after a couple of seconds

Jumbostan avatar Aug 18 '22 12:08 Jumbostan

Use arch btw it will work

Majkipl27 avatar Sep 05 '22 20:09 Majkipl27

Same issue on Ubuntu 22.04 with:

  • react-native: 0.69.6
  • react-devtools: 4.26.1

titoasty avatar Nov 14 '22 13:11 titoasty

Also seeing the same issue in Ubuntu 22.04.

tom-james-watson avatar Jan 10 '23 12:01 tom-james-watson

Use arch btw it will work

same issue on arch

inux arch-laptop 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux node v18.13.0 (npm v8.19.3)

hab12335 avatar Jan 30 '23 21:01 hab12335

same on ubuntu 22.10

geeksville avatar Feb 19 '23 23:02 geeksville

Great workaround (recommended by @TrainDoctor) that fixed things for me:

react-devtools --no-sandbox

apparently the electron in react-devtools is old-old.

geeksville avatar Feb 19 '23 23:02 geeksville

I had the same issue on

The fix above of using react-devtools --no-sandbox worked for me. (Thanks!)

JoshDesmond avatar Mar 10 '23 05:03 JoshDesmond

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Apr 10 '24 02:04 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Apr 17 '24 12:04 github-actions[bot]