Skip to content

marp.exe rendering and watch mode do not work in msys on Windows 10 (i.e. git-bash) #573

@embix

Description

@embix

Version of Marp Tool

@marp-team/marp-cli v3.4.0 (w/ @marp-team/marp-core v3.9.0)

Operating System

Windows

Environment

  • OS version: Windows 10 22H2 Build 19045.4291
  • Node.js version: the one baked into Marp CLI, when using npx it's the rather rusty 17.9.0
  • Shell Environment: msys/bash (git-bash as distributed with git 2.44.0 for Windows)

Bug occurs in marp.exe as well as when using npx @marp-team/marp-cli@latest

How to reproduce

  1. open git-bash
  2. create a minimal prez.md
  3. either npx @marp-team/marp-cli@latest prez.md -o prez.html
    or /path/to/marp prez.md -o prez.html
  4. it seems to freeze

marp --help or marp --version however work as expected. Using WindowsTerminal/Powershell works as expected.

Expected behavior

It should render the html/pdf or go into watchmode as requested and provide the usual [INFO]/[WARN] outputs accordingly.

Actual behavior

the msys terminal freezes

Additional information

Already tried running with MSYS_NO_PATHCONV=1 just in case it's related to msys's Posix path conversion but that didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions