Closed deanpribetic closed 1 year ago
Have you seen this https://github.com/mermaid-js/mermaid-cli#install-with-brew? Try to use docker instead.
Have you seen this https://github.com/mermaid-js/mermaid-cli#install-with-brew? Try to use docker instead.
I am using this through npm
Issue confirmed. I've even tested with the Mermaid v10.2.0-rc.2 candidate, and it didn't help.
There has been a bunch of recent updates to class diagrams in Mermaid recently (e.g. https://github.com/mermaid-js/mermaid/commit/ba632ff65bcaf6752364c3668a25f7376615204e), so I'm hoping that maybe the soon to be released Mermaid v10.2.0 might fix this issue.
This diagram works fine in https://mermaid.live and on GitHub, so it must be a mermaid-cli issue:
classDiagram-v2
class Pancake {
}
class Waffle {
}
Thank you for confirming. Sorry for sleeping. Hmm. I guess we do not have any Percy tests for class diagrams. Wonder how can this be mermaid-cli problem? Let's wait for mermaid v10.2.0
Describe the bug Unable to parse classes on macOS on 10.1.0. Produces the following error (truncated)
To Reproduce Steps to reproduce the behavior:
npm mmdc
to produce and output. Something likenpm mmdc -i example.txt -o output.png
Expected behavior Expect an image file named
output.png
to contain two classes Pancake and Waffle.Desktop (please complete the following information):
Additional context I have looked into issues #433 and #503 and neither seem to offer anything that helps