美文网首页
Failed to launch the browser pro

Failed to launch the browser pro

作者: HiSun001 | 来源:发表于2020-08-06 11:08 被阅读0次

puppeteer按错信息如下:
Error: Failed to launch the browser process!

[0805/102322.965291:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

解决方案:await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});

puppeteer-issues-290

相关文章

网友评论

      本文标题:Failed to launch the browser pro

      本文链接:https://www.haomeiwen.com/subject/badsrktx.html