react icon indicating copy to clipboard operation
react copied to clipboard

[DevTools Bug]: react-devtools not start up

Open yuyang-ok opened this issue 1 year ago • 5 comments

Website or app

sorrry I don't know how to reproduce this.

Repro steps

npm install -g react-devtools

react-devtools

react-devtools not start up on ubuntu24 , nothing happen , no error message at all

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)


Error component stack (automated)


GitHub query string (automated)


yuyang-ok avatar Jan 23 '25 01:01 yuyang-ok

Image

yuyang-ok avatar Jan 23 '25 02:01 yuyang-ok

I can confirm this on Ubuntu 24.04.1 LTS, also did a manual build to the same result.

dwrBad avatar Jan 27 '25 17:01 dwrBad

Also experiencing this bug

ParisPianist196 avatar Apr 28 '25 20:04 ParisPianist196

Same issue here. After reinstalling to Ubuntu 24 npx react-devtools do not show up. No error messages. No logs (checking in npx log dir).

Is there any way to increase verbosity ? I tried both react-devtools@latest and [email protected]

Please let us know.

mdottavi avatar May 21 '25 16:05 mdottavi

This happens due to apparmor blocking unprivileged user namespace usage. apparmor="AUDIT" operation="userns_create" class="namespace" info="Userns create - transitioning profile" profile="unconfined" pid=16278 comm="electron" requested="userns_create" target="unprivileged_userns"

apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=16280 comm="electron" capability=21 capname="sys_admin"

One workaround without changing apparmor settings is to disable electrons sandbox mode: react-devtools --no-sandbox

zpotoloom avatar Nov 28 '25 07:11 zpotoloom