question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to find mmdc binary in Yarn 2 with Plug'n'Play

See original GitHub issue

Example repo Error:

Error: Command failed: find ../.. -name mmdc

or another error:

Error: Expected mermaid CLI at
C:\Users\user\Project\prisma\node_modules\.bin\mmdc

or
undefined
 but this package was not found.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zkulbedacommented, Jun 8, 2022

It really worked! Thank you.

0reactions
keonikcommented, Jul 14, 2022

I believe all that is in the generated mermaid markdown file is something like this

"""mermaid
// syntax to render ERD in markdown
"""

So if you copied the contents out of that generated markdown file and into your README.md wherever you want to put it, it should render for you.

That then leaves you manually updating your README.md any time your ERD changes. You could script that out and automate it but the easier would be to just link your README.md to your generated ERD.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plug'n'Play | Yarn - Package Manager
An overview of Plug'n'Play, a powerful and innovative installation strategy for Node.
Read more >
sBK - River Thames Conditions - Environment Agency - GOV.UK
Location based sms hong kong, Pikmin 2 boss theme, Camp phillips bukidnon philippines, ... Christmas yarn craft ideas, Marc jacobs amy watch gold...
Read more >
Untitled
Moda maschile anni 60, Multiplayer glitches black ops 2, Define sit down ... Food doodles pumpkin hot chocolate, Tsa fails 95, Jimten tarifa...
Read more >
Untitled
I'm evil on the inside, Beat 3-5-2 top eleven, Dslr shoulder rig amazon, Song milky, ... Ada aku disini koplo monata, Football player...
Read more >
windows - Trouble installing mermaid command line interface
And then, to get the command line interface I used,. yarn add mermaid.cli ./node_modules/.bin/mmdc -h. https://github.com/mermaidjs/mermaid.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found