mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
68.63k stars 6.05k forks source link

Mermaid Library issue #5584

Open sanidayalgupta opened 1 week ago

sanidayalgupta commented 1 week ago

Hi All,

I am getting below error while importing mermaid.

Uncaught SyntaxError: The requested module './../../dayjs/dayjs.min.js' does not provide an export named 'default' (at mermaid-6dc72991.js:2:8)

I have imported like this import mermaid from "mermaid"; import dayjs from "dayjs/esm";

Please let me if any solution is there.