Skip to content

Navigation timeout error in macOS and Linux #682

@yhatt

Description

@yhatt

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

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

Workaround

Conversion has been succeeded by adding --allow-local-files option.

marp --pdf deck.md --allow-local-files

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions