Skip to content

Commit 605db92

Browse files
author
Murilo Marinho
committed
Trying to fix PDF compilation error. See rest of message for details.
writing... WARNING: mm code '%%{init: { "theme" : "dark" }}%%\ngraph LR;\nA[Publisher #1] --> B[Topic]\nC[Publisher #2] --> B\nB --> D[Subscriber #1]': Mermaid exited with error: 76 [stderr] 77 b'\nError: Failed to launch the browser process!\n/home/docs/.cache/puppeteer/chrome-headless-shell/linux-131.0.6778.204/chrome-headless-shell-linux64/chrome-headless-shell: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://pptr.dev/troubleshooting\n\n at Interface.onClose (file:///home/docs/.asdf/installs/nodejs/19.9.0/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/@puppeteer/browsers/lib/esm/launch.js:303:24)\n at Interface.emit (node:events:525:35)\n at Interface.close (node:internal/readline/interface:534:10)\n at Socket.onend (node:internal/readline/interface:260:10)\n at Socket.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n\n' 78 [stdout] 79 b'Generating single mermaid chart\n'
1 parent c56d6d0 commit 605db92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ build:
1616
# golang: "1.19"
1717
jobs:
1818
post_install:
19+
- sudo apt-get install libasound2
1920
- npm install -g @mermaid-js/mermaid-cli
2021

2122
# Build documentation in the docs/ directory with Sphinx

0 commit comments

Comments
 (0)