Closed kongdd closed 9 months ago
The version 3.3.0 works. While the latest not.
Similar: https://github.com/marp-team/marp-vscode/issues/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
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.
Same problem here.
slides.md
---
marp: true
---
# hello
$ 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.
macOS Sonoma 14.2.1 (23C71) Node.js v21.4.0 marp-cli v3.4.0
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
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.
yes! i use this cmd : set DEBUG=puppeteer:* marp --pdf slide-deck.md Find a suspicious file path C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe this appliaction cant open , and than delete it. reinstall laster chrome and retry ok.
Version of Marp Tool
@marp-team/marp-cli v3.4.0 (w/ @marp-team/marp-core v3.9.0)
Operating System
Windows
Environment
How to reproduce
hello
Expected behavior
generate pdf
Actual behavior
no response
Additional information
No response