-
Notifications
You must be signed in to change notification settings - Fork 100
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
SyntaxError: Named export 'o' not found. The requested module './mermaid.95cd9c8e.js' is a CommonJS module #428
Comments
@davidgasquez thank you for reporting this! I'll fix it today. |
Most probably this is an issue with mermaid version 9.4.0. I've created an issue in their repo: A temporary solution is to force version 9.3.0 to be installed in the template. Pushed to main: 761cad2 |
@davidgasquez please give it a try once again and let me know if the fix worked and if I'll have a free weekend 😅 |
This update solved the issue for me! % npx flowershow install
% npx flowershow build
[…]
● (SSG) automatically generated as static HTML + JSON (uses getStaticProps) |
It works! 🎉 Thanks @olayway for taking care of this one so quickly. Love the project! |
Update mermaid closes #428 * Update mermaid in core `v10.0.1-rc.2` * create mermaid component in core * add `mdx-mermaid` plugin and mermaid component in template * remove `remark-code-extra` plugin
Update mermaid closes #428 * Update mermaid in core `v10.0.1-rc.2` * create mermaid component in core * add `mdx-mermaid` plugin and mermaid component in template * remove `remark-code-extra` plugin
Update mermaid closes #428 * Update mermaid in core `v10.0.1-rc.2` * create mermaid component in core * add `mdx-mermaid` plugin and mermaid component in template * remove `remark-code-extra` plugin
Update mermaid closes #428 * Update mermaid in core `v10.0.1-rc.2` * create mermaid component in core * add `mdx-mermaid` plugin and mermaid component in template * remove `remark-code-extra` plugin
Hey there! I wanted to test
flowershow
as an Obsidian Publish replacement and I'm hitting some errors when runningnpx flowershow@latest preview
. You can reproduce it by following the Publish tutorial. It also seems to be happening in CI.This is the error:
The text was updated successfully, but these errors were encountered: