【发布时间】:2020-05-01 11:51:24
【问题描述】:
我想在 linux (CentOs) 中运行“Hello World”电子应用程序。我的应用程序有这个文件夹结构
当我运行 npm run start 时,依次运行 electron。
我看到以下错误
[10948:0114/140415.407127: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/staff/kjeeva/simple_electron_app/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755
【问题讨论】:
-
请将截图替换成文字,否则搜索错误信息时找不到这个问题
-
碰巧是应用程序以相同的 git 问题打开 github.com/electron/electron/issues/13984
-
我发现electron-prebuilt被electron替换了!但我的应用程序窗口至少是电子预建的,但使用电子它甚至不会出现在屏幕上
标签: node.js linux centos electron chromium