Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: react-devtools crash at start #25056

Closed
Jumbostan opened this issue Aug 6, 2022 · 11 comments
Closed

Bug: react-devtools crash at start #25056

Jumbostan opened this issue Aug 6, 2022 · 11 comments
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@Jumbostan
Copy link

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 Jumbostan added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Aug 6, 2022
@lunaruan
Copy link
Contributor

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

@Jumbostan
Copy link
Author

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

@Majkipl27
Copy link

Use arch btw it will work

@titoasty
Copy link

titoasty commented Nov 14, 2022

Same issue on Ubuntu 22.04 with:

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

@tom-james-watson
Copy link

Also seeing the same issue in Ubuntu 22.04.

@hab12335
Copy link

hab12335 commented Jan 30, 2023

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)

@geeksville
Copy link

same on ubuntu 22.10

@geeksville
Copy link

geeksville commented Feb 19, 2023

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

react-devtools --no-sandbox

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

@JoshDesmond
Copy link

I had the same issue on

  • Ubuntu 22.04.2
  • react-native: 0.70.6
  • react-devtools@4.27.2

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

Copy link

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 github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Apr 10, 2024
Copy link

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 github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

8 participants