Skip to content
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

Failing to parse Mermaid ESM code: Unknown node type StaticBlock #591

Open
jamietanna opened this issue Aug 27, 2024 · 1 comment
Open

Comments

@jamietanna
Copy link

I've noticed that my Netlify deploys have been failing in the last few days, due to the Mermaid MJS code:

8:53:51 AM:   ✖ FAIL Failed loading https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs
8:53:51 AM:   | operator: error
8:53:51 AM:   |   actual: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs: Parse error in https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs
8:53:51 AM: Unknown node type StaticBlock.
8:53:51 AM:   |       at: public/public/cookbooks/collecting-data/index.html:259:24 (inlined JavaScript)

I've put the current copy of the .mjs in https://gist.github.com/jamietanna/508edd467d2a91f8f72ac27f1c55e4e4

I'm wondering if maybe we've got a dependency to update before we're able to successfully parse this?

Link to logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@jamietanna and others