Giter Club home page Giter Club logo

Comments (7)

kongdd avatar kongdd commented on July 18, 2024

The version 3.3.0 works. While the latest not.

from marp-cli.

yhatt avatar yhatt commented on July 18, 2024

Similar: marp-team/marp-vscode#448

The Chromium browser might be getting stuck while spawning by Puppeteer. What CLI logs will be output if set DEBUG env as puppeteer:*?

set DEBUG=puppeteer:*
marp --pdf slide-deck.md

from marp-cli.

yhatt avatar yhatt commented on July 18, 2024

We are temporarily closing this issue until additional information necessary for verification and reproduction is provided. If the problem persists, please reopen this issue with the required information.

from marp-cli.

nagromc avatar nagromc commented on July 18, 2024

Same problem here.

Input

slides.md

---
marp: true
---

# hello

Console output

$ DEBUG=puppeteer:*
$ echo $DEBUG         
puppeteer:*
$ marp --pdf slides.md
(node:9589) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[  INFO ] Converting 1 markdown...

It hangs out indefinitely. And it doesn't seem to log more information.

Environment

macOS Sonoma 14.2.1 (23C71)
Node.js v21.4.0
marp-cli v3.4.0

from marp-cli.

yhatt avatar yhatt commented on July 18, 2024

Have installed the latest version of Chrome? Recent Puppeteer that the current Marp CLI is using may not compatible with previous Chrome versions due to the change of automation protocol for Chrome (WebDriver BiDi).
https://developer.chrome.com/blog/puppeteer-webdriver-bidi-2023

from marp-cli.

nagromc avatar nagromc commented on July 18, 2024

Oh, you are right. I'm not a Chrome user, so my Chrome was still in v108. Upgraded to v120, and now everything is fine. Thanks.

from marp-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.