[DevTools Bug]: react-devtools not start up
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)
I can confirm this on Ubuntu 24.04.1 LTS, also did a manual build to the same result.
Also experiencing this bug
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.
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