Open HarryF514 opened 6 years ago
根据这个好像修复了问题。https://github.com/astefanutti/decktape/issues/126
但是出现新的错误:
[16544]: start.
Error: Failed to launch chrome!
[0315/142956.003146: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/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:211:14)
at Interface.helper.addEventListener (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:200:50)
at Interface.emit (events.js:185:15)
at Interface.close (readline.js:379:8)
at Socket.onend (readline.js:152:10)
at Socket.emit (events.js:185:15)
at endReadableNT (_stream_readable.js:1101:12)
at process._tickCallback (internal/process/next_tick.js:114:19)
[16544]: Exit with code 0.
Running as root without --no-sandbox
在Ubuntu16.04下正常,可以在非root下运行
@harryyuanfeng 我也是这个问题,加了行代码后解决了 https://github.com/sakuyamaij/sms-boom/commit/79e2de8449fe1b079ccf63dc7c8cee7f9b53abc9
你好,请问怎样在 ubuntu 上安装。。
@harryyuanfeng 我也是这个问题,加了行代码后解决了 https://github.com/sakuyamaij/sms-boom/commit/79e2de8449fe1b079ccf63dc7c8cee7f9b53abc9
@sakuyamaij 你好,我遇到了同样的问题,但附带的链接打不开了,请问是怎样解决的呀?
一般怎么样处理这个问题?