mermaidjs / mermaid.cli

Development has been moved to https://github.com/mermaid-js/mermaid-cli
MIT License
1.09k stars 117 forks source link

Error: Failed to launch Chrome #37

Closed jadennnn closed 6 years ago

jadennnn commented 6 years ago

This happens whether I install globally or locally. I'll attach the whole log, but the first two lines seem the most important:

(node:6152) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
[0504/091123.638219:FATAL:zygote_host_impl_linux.cc(124)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_developm
ent.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.  

I'm using Node v9.11.1, NPM v5.8.0, on a vanilla Arch Linux x64 installation. Mermaid used to work for me (like a year ago when I last used it).

logs.log

tylerlong commented 6 years ago

https://github.com/mermaidjs/mermaid.cli/pull/32#issuecomment-385145371

https://github.com/GoogleChrome/puppeteer/issues/290#issuecomment-322882177

Please upgrade to a newer kernel.

What's your kernel version by the way?

tylerlong commented 6 years ago

Refer to https://github.com/mermaidjs/mermaid.cli#linux-sandbox-issue

jadennnn commented 6 years ago

Thank you! I'll try it after updating

RidaAyed commented 6 years ago

Hi. Same problem here. Remains after full update:
4.16.13-1-ARCH

39