Closed kenseii closed 1 year ago
Thank you for the great and detailed bug report! I've tested and this actually seems to be a bug in Mermaid v10.2.2, see https://github.com/mermaid-js/mermaid/issues/4408.
It's been fixed by Mermaid v10.2.3.
Unfortunately, we haven't yet made a new release of mermaid-cli
yet. As a temporary measure, you can run npm install github:mermaid-js/mermaid-cli
to install the latest in-development version on GitHub.
@MindaugasLaganeckas, can you make a v10.2.4 release to NPM, since Mermaid v10.2.4 has come out recently, see
By the way, "headless": "new"
in my puppeteer config seems to be a bit buggy. It might be worth keeping the old "headless": true
setting if you want a more stable experience, at least until the Puppeteer team improves the new headless mode.
This has been fixed with @mermaid-js/mermaid-cli v10.2.4 (the puppeteer config file you gave doesn't seem to work, but using no puppeteer config file seems to be fine)!
Thanks again for raising this issue!
I'm having this issue on 10.9.1 with no puppeteer config
Describe the bug
After installing the latest version of mermaid-cli (10.2.2) and attempting to generate a mindmap svg using it, it always failed with a timeout error or sometimes a target crashed error. Puppeteer recently released 1.4.2 https://github.com/puppeteer/puppeteer/releases/tag/browsers-v1.4.2 and my guess is that this new update has some breaking changes
To Reproduce Steps to reproduce the behavior:
npm install -g @mermaid-js/mermaid-cli
Expected behavior The same command and config should fail on 10.2.2 but work if you run it using 10.1.0
Desktop (please complete the following information):