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.

update brew formula to work with 9.0.3

See original GitHub issue

Describe the bug

brew install mermaid-cli does not install the latest version.

See https://github.com/Homebrew/homebrew-core/issues/100192 and https://github.com/Homebrew/homebrew-core/pull/83338

~Need to update the formula to work with Apple silicon, and possibly make the formula mac-only (no linux support)~

https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/mermaid-cli.rb#L6

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aloisklinkcommented, Oct 6, 2022

Warning: mermaid-cli has been deprecated because it installs a pre-built copy of Chromium!

Unfortunately, mermaid-cli requires puppeteer, which requires either Chromium or Firefox. And since both Chromium and Firefox are not yet available as Homebrew Formulae (they’re just Casks), the Homebrew team has decided to deprecate meramid-cli, see https://github.com/Homebrew/homebrew-core/issues/100192#issuecomment-1114289767:

Closing based on decision from Homebrew side.

The way forward for mermaid-cli formula would be an external Tap, perhaps maintained by upstream or someone else. If one is created, it can be considered for documentation at https://docs.brew.sh/Interesting-Taps-and-Forks

I’m going to close this as won't fix, since the Homebrew team has said they won’t be accepting updates to the mermaid-cli formula.

The homebrew team thinks mermaid-cli could be turned into a Tap. https://docs.brew.sh/Acceptable-Casks#rejected-casks also says that it might be accepted as a Cask, despite being a CLI software.

0reactions
mrcnskicommented, Oct 6, 2022

Bump. 🙂

Right now brew install mermaid-cli gives me this warning:

Warning: mermaid-cli has been deprecated because it installs a pre-built copy of Chromium!
Read more comments on GitHub >

github_iconTop Results From Across the Web

Homebrew install specific version of formula? - Stack Overflow
brew postgresql-upgrade-database is, well, for upgrades. My answer is about using an older Postgres version. Simply switching binaries won't work. – Max Malysh....
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
formula for mermaid-cli is not pointing to latest stable. #100192
I ran brew update and am still able to reproduce my issue. I have resolved all warnings from brew doctor and that did...
Read more >
Macos – Keg-only homebrew formulas - iTecNote
Today I installed the curl formula via homebrew , but after installing it ... Brew update failed: untracked working tree files would be...
Read more >
Homebrew install specific version of formula? - Stack Overflow
First, we'll need to find a commit where postgresql 8.4.4 was available. ... For update I, I had to brew unlink <formula> before...
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