linux环境运行electron报chrome-sandbox错误解决办法
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参数
本文来自博客园,作者:广林,转载请注明原文链接:https://www.cnblogs.com/guanglin/p/14950126.html