marp-team / marp-team/marp-cli

marp-cli does not seem to find chromium

Open
#475 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upstream
Dominant language
TypeScript
Stars
3.8k
Forks
194
Avg merge
2h 51m
Merged PRs (30d)
3

Description

Version of Marp Tool

v2.1.2

Operating System

macOS

Environment
  • OS version: macOS 12.5.1
  • Node.js version: v18.8.0
  • chromium installed via homebrew
How to reproduce
  1. brew install chromium marp-cli
  2. echo '# hi' > /tmp/presentation.md
  3. marp -p /tmp/presentation.md
Expected behavior

having the preview opened in chromium

Actual behavior
[  INFO ] [Preview] Opening file:///tmp/presentation.html...
[ ERROR ] You have to install Google Chrome, Chromium, or Microsoft Edge to convert slide deck with current options.
Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with marp -p /tmp/presentation.md after installing Chromium through Homebrew on macOS. Trace how the CLI discovers a browser and compare that path with the installed Chromium setup; done means the preview opens in Chromium without the missing-browser error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.