Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Mermaid error

#3341

I'm trying to use mermaid for diagraming, but got this error:

Bundle command failed (event: generate_diagram)
Error Output    Error Domain=WKErrorDomain Code=5 "JavaScript execution returned a result of an unsupported type" UserInfo={NSLocalizedDescription=JavaScript execution returned a result of an unsupported type}

I'm on r5937 and have run the following command to enable mermaid (which btw isn't documented in the manual):

defaults write com.freron.MailMate MmBundleCommandForDiagramGeneration -string "BCA016BB-96DF-4EBB-8DD6-4BE467FCA194"

Reported by Remy Wang · March 10th, 2024 @ 11:10 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Mike
    Mike

    I have the same problem. What kind of UUID is this that you pass via "-string"? Where do you get it from?

    March 19th, 2024 @ 12:07 PM

  2. Remy Wang
    Remy Wang

    @Mike according to #3121 we need to run that command to enable a hidden setting for mermaid.

    March 22nd, 2024 @ 09:35 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.