You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First Error - missing dependencies on system level
root@f3216f0534e8:/# mmdc -i test.mmd -o test.png
(node:933) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
/usr/local/share/.config/yarn/global/node_modules/puppeteer/.local-chromium/linux-549031/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:255:14)
at Interface.helper.addEventListener (/usr/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:244:50)
at emitNone (events.js:111:20)
at Interface.emit (events.js:208:7)
at Interface.close (readline.js:370:8)
at Socket.onend (readline.js:149:10)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
(node:933) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:933) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
root@f3216f0534e8:/# mmdc -i test.mmd -o test.png
(node:2843) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
[0413/071446.332564:ERROR:zygote_host_impl_linux.cc(88)] 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/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:255:14)
at Interface.helper.addEventListener (/usr/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:244:50)
at emitNone (events.js:111:20)
at Interface.emit (events.js:208:7)
at Interface.close (readline.js:370:8)
at Socket.onend (readline.js:149:10)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
(node:2843) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2843) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code
Execute as non-root user
root@f3216f0534e8:/# useradd doc
root@f3216f0534e8:/# su doc
$ mmdc -i test.mmd -o test.png
(node:2862) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!
[0413/071618.696488:ERROR:icu_util.cc(133)] Invalid file descriptor to ICU data received.
[0413/071618.696630:FATAL:content_main_delegate.cc(53)] Check failed: false.
#0 0x564e86baab0c base::debug::StackTrace::StackTrace()
#1 0x564e86bc3780 logging::LogMessage::~LogMessage()
#2 0x564e84f4cd23 content::ContentMainDelegate::TerminateForFatalInitializationError()
#3 0x564e868e5deb content::ContentMainRunnerImpl::Initialize()
#4 0x564e868efb72 service_manager::Main()
#5 0x564e868e4f14 content::ContentMain()
#6 0x564e8a9f49b9 headless::(anonymous namespace)::RunContentMain()
#7 0x564e8a9f4a42 headless::HeadlessBrowserMain()
#8 0x564e868ecf9d headless::HeadlessShellMain()
#9 0x564e84f4b1ac ChromeMain
#10 0x7f9fb78f72e1 __libc_start_main
#11 0x564e84f4b02a _start
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:255:14)
at Interface.helper.addEventListener (/usr/local/share/.config/yarn/global/node_modules/puppeteer/lib/Launcher.js:244:50)
at emitNone (events.js:111:20)
at Interface.emit (events.js:208:7)
at Interface.close (readline.js:370:8)
at Socket.onend (readline.js:149:10)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
(node:2862) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2862) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
hello community,
i have installation issue's with mermaid package.
I'ved worked through several stages of problems but doesn't have any ideas for the last error
Invalid file descriptor to ICU data received.
.any ideas?
Systeminfo
I'm using this docker image
docker run --rm -it robie2011/gitlab-asciidoctor bash
Installation
sample diagram code:
First Error - missing dependencies on system level
Fixing + reinstall mermaid:
Root-User Issue
Execute as non-root user
The text was updated successfully, but these errors were encountered: