marp-team / marp-cli

A CLI interface for Marp and Marpit based converters
MIT License
1.92k stars 108 forks source link

Bad CPU error on Mac for standalone cli #620

Open sorenpeter opened 1 day ago

sorenpeter commented 1 day ago

When trying to use the standalone marp cli I get this error:

 $ ./marp slides.md 
-bash: ./marp: Bad CPU type in executable

Are the standalone only made or M1+ and not Intel Macs?

yhatt commented 1 day ago

Yes, the standalone binary for Mac is built for Apple Silicon. You can still install Marp CLI to Intel Mac via Homebrew or npm.

sorenpeter commented 1 day ago

Hi yhatt,

Thanks for the clarification. I got Marp CLI working via homebrew (but it took close to an hour to install...)

Any change you will label the binary and make a note in the readme that they are only for Silicon, to avoid the confusion for others in the future?

yhatt commented 1 day ago

A pull request for adding the note to README is welcome.