☰ Dup Goto 📝

LinuxSandbox

PT2/lang/js/electron 11-15 16:21:07
To Pop
13 lines, 37 words, 322 chars Sunday 2026-11-15 16:21:07

Either

npx electron --no-sandbox .

or else

sudo chown root:root node_modules/electron/dist/chrome-sandbox && \
    sudo chmod 4755 node_modules/electron/dist/chrome-sandbox

# check
ls -l node_modules/electron/dist/chrome-sandbox 
# shows permissions starting with -rwsr-xr-x and root as the owner.