react
react copied to clipboard
Bug: react-devtools crash at start
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
Hey! What versions of React Native and React DevTools are you using?
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
Use arch btw it will work
Same issue on Ubuntu 22.04 with:
- react-native: 0.69.6
- react-devtools: 4.26.1
Also seeing the same issue in Ubuntu 22.04.
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)
same on ubuntu 22.10
Great workaround (recommended by @TrainDoctor) that fixed things for me:
react-devtools --no-sandbox
apparently the electron in react-devtools is old-old.
I had the same issue on
- Ubuntu 22.04.2
- react-native: 0.70.6
- [email protected]
The fix above of using react-devtools --no-sandbox
worked for me. (Thanks!)
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!
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!