-
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version of Marp Tool
@marp-team/marp-cli v4.2.2 (w/ @marp-team/marp-core v4.1.0)
Operating System
Other (fill out in the environment field)
Environment
- OS version: macOS 15.6
- Add
preparehook script to runpatch-package#681 shows this problem brings also in Linux.
- Add
- Node.js version (Marpit / Marp Core/ Marp CLI): Node.js v22.15.0
- Google Chrome version: 139.0.7258.67
How to reproduce
touch deck.md
marp --pdf deck.md
Expected behavior
Generate deck.pdf
Actual behavior
TimeoutError: Navigation timeout of 30000 ms exceeded
at new Deferred (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:60:34)
at Deferred.create (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:21:16)
at new LifecycleWatcher (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/LifecycleWatcher.js:69:60)
at CdpFrame.setContent (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:233:29)
at async CdpPage.setContent (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:568:13)
at async a (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/lib/marp-cli-blHPMSI6.js:48:154659)
at async /opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/lib/marp-cli-blHPMSI6.js:48:146187
at async /opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/lib/marp-cli-blHPMSI6.js:48:154803
at async ur.withPage (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/lib/marp-cli-blHPMSI6.js:18:2498)
at async kp.usePuppeteer (/opt/homebrew/Cellar/marp-cli/4.2.2/libexec/lib/node_modules/@marp-team/marp-cli/lib/marp-cli-blHPMSI6.js:48:154434)
Additional information
- Add
preparehook script to runpatch-package#681 blocks CI due to this error. - The latest commit on
mainbranch did not block CI so this error might be brought in 2 weeks.
Workaround
Conversion has been succeeded by adding --allow-local-files option.
marp --pdf deck.md --allow-local-files
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working