-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
esbuild error: Error [ERR_REQUIRE_ESM]: require() of ES Module #2677
Comments
I think #2372 was to fix the issue when importing in live editor. Can you try updating that? https://www.jsdelivr.com/package/npm/mermaid?path=dist&version=8.13.3 |
Hi @sidharthv96, this is a duplicate of #2559. Essentially, since [email protected] is now ESM only, This causes an issue, since I don't think this issue can be fixed, unless Instead, |
@knsv What do you think? |
暂时把mermaid降级到">= 8.11.0 < 8.12.0",因为之前的版本"^8.14.0"有点问题 参见mermaid-js/mermaid#2677
ref: sjwall/mdx-mermaid#18
The text was updated successfully, but these errors were encountered: