linux运行electron报如下错误:

FATAL:setuid_sandbox_host.cc(158)] 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/user/Desktop/aep/source/build/linux-unpacked/chrome-sandbox is owned by root and has mode 4755.

使用以下命令解决:

sudo chown root chrome-sandbox && sudo chmod 4755 chrome-sandbox

也可以在启动的控制台加上 --no-sandbox参数

相关文章:

  • 2021-07-29
  • 2021-06-16
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2021-06-28
  • 2021-05-16
  • 2022-02-05
  • 2021-08-04
  • 2021-12-16
  • 2021-04-02
  • 2021-11-30
相关资源
相似解决方案