Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting md error #445

Closed
pcardona34 opened this issue Apr 23, 2022 · 2 comments · Fixed by #446
Closed

Converting md error #445

pcardona34 opened this issue Apr 23, 2022 · 2 comments · Fixed by #446
Labels
bug Something isn't working upstream Caused in upstream, not in this repo

Comments

@pcardona34
Copy link

Version of Marp Tool

marp-cli v1.7.1 (@marp-team/marp-core v2.4.1)

Operating System

Linux

Environment

  • OS version: Debian 11.3 (Bullseye) ; Linux raspberrypi 5.15.32-v8+ ; aarch64 GNU/Linux
  • Node.js version : v12.22.5
  • marp-cli version : @marp-team/marp-cli v1.7.1 (w/ @marp-team/marp-core v2.4.1)

How to reproduce

  1. On a fresh install (new OS : 64 bits)
  2. Using this command: marp --html --allow-local-files --preview foo.md
  3. And trying on many MD files that worked before on my previous OS (32 bits)
  4. Always getting this error message now:
    [ INFO ] Converting 1 markdown...
    [ ERROR ] Failed converting Markdown. (md.core.ruler.after is not a function)

Expected behavior

It should show the preview HTML window on Chromium like it did before.

Actual behavior

The error stop the conversion. No HTML, no preview.

Additional information

No response

@pcardona34 pcardona34 added the bug Something isn't working label Apr 23, 2022
@yhatt
Copy link
Member

yhatt commented Apr 24, 2022

Workaround: Try standalone binary instaed.

It brings from incompatible change with Marp Core in upstream module markdown-it-emoji v2.0.0 -> 2.0.2.

@pcardona34
Copy link
Author

Hi Yhatt,

I did : sudo npm update @marp-team/marp-cli -g ate
and every thing is well done now.

Thank you so much for your great work and this workaround, less than one day to solve it.
Congratulations !
Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Caused in upstream, not in this repo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants