-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI generation of diagram results in [vue-sequence] error #588
Comments
Same error here directly running |
Got same message on |
Same error on 10.6.2-beta.12 docker image |
Got the error on |
Running 10.9.1 in the following script, I get the message and I also get my SVGs. ls *.mmd | while read mmd
do
svg=$(echo "$mmd" | sed 's/\.mmd/\.svg/')
cmd="/usr/bin/time mmdc -q -i $mmd -o $svg"
rm "$svg" && echo "Removed $svg"
eval "$cmd" && echo "Generated $svg"
done
ls -la *.svg
|
Adding some more context: this error appears to be with mermaid-cli/dist/index.html, but reported by Chromium. I turned on the {
"dumpio": true
} and ran mmdc with that JSON puppeteer-config:
|
It sounds like this warning message is just a warning from the ZenUML diagram implementation. I've reported a bug with them: mermaid-js/zenuml-core#169 And it will be printed on any diagram that takes more than 1 second to render. It shouldn't prevent rendering, which means that if rendering did fail, there must have been some other error message! If anybody is willing to share a diagram that does fail to render, that would be awesome and would let us debug it to see where and how it fails. |
When generating a class diagram using mermaid CLI the following error is encountered regularly:
[vue-sequence] Store is a function and is not initiated in 1 second.
The markdown file is ~650 lines long with ~175 objects (classes, namespaces, notes).
When trying the same markdown via the live mermaid editor it compiles and generates a diagram fine.
Steps to Reproduce
docker run --rm -u
id -u:
id -g-v .:/data minlag/mermaid-cli -i diagram.mmd -o diagram.mmd.svg
[vue-sequence] Store is a function and is not initiated in 1 second.
Expected behavior
A diagram SVG should be generated.
Desktop Environment
The text was updated successfully, but these errors were encountered: