Preflight Checklist
Issue Details
- Electron Version:
- Operating System:
- Last Known Working Electron version::
Expected Behavior
Running node_modules/.bin/electron --version should output v5.0.0.
To be clear, all commands create this error, but I'm using the --version flag for simplicity.
Actual Behavior
$ node_modules/.bin/electron --version
[2720:0425/142001.775056:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
Additional Information
$ stat /home/christianbundy/src/ssbc/patchwork/node_modules/electron/dist/chrome-sandbox
Size: 5185424 Blocks: 10128 IO Block: 4096 regular file
Device: 802h/2050d Inode: 1465270 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 1000/christianbundy) Gid: ( 1000/christianbundy)
Access: 2019-04-25 14:15:10.609279524 -0700
Modify: 2019-04-25 14:15:10.659278929 -0700
Change: 2019-04-25 14:15:10.659278929 -0700
Birth: 2019-04-25 14:15:10.609279524 -0700
If I chown and chmod the file then it works fine, but my intuition is that npm install electron@latest should work without those commands. Is this expected behavior?
Preflight Checklist
Issue Details
Expected Behavior
Running
node_modules/.bin/electron --versionshould outputv5.0.0.To be clear, all commands create this error, but I'm using the
--versionflag for simplicity.Actual Behavior
Additional Information
If I
chownandchmodthe file then it works fine, but my intuition is thatnpm install electron@latestshould work without those commands. Is this expected behavior?