Skip to content

Undefined 'childNodes'  #3

Description

@lunarcloud

Version: 0.5.0-beta.1
Input file: UserDocExample.zip

npx pagedjs-cli UserDocExample.html -o UserDocExample.pdf

✔ Loaded
✔ Loaded
✔ Loaded
◴ Rendering: Page 1Error [TypeError]: Cannot read properties of undefined (reading 'childNodes')
Layout.addOverflowNodes (C:\Work\test-pagedjs-206\node_modules\pagedjs-cli\dist\browser.js:1877:22)
C:\Work\test-pagedjs-206\node_modules\pagedjs-cli\dist\browser.js:1925:10
    at #evaluate (file:///C:/Work/test-pagedjs-206/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:383:19)
    at async ExecutionContext.evaluate (file:///C:/Work/test-pagedjs-206/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:270:16)
    at async IsolatedWorld.evaluate (file:///C:/Work/test-pagedjs-206/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/IsolatedWorld.js:96:16)
    at async CdpFrame.evaluate (file:///C:/Work/test-pagedjs-206/node_modules/puppeteer-core/lib/esm/puppeteer/api/Frame.js:335:20)
    at async CdpPage.evaluate (file:///C:/Work/test-pagedjs-206/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:799:20)
    at async Printer.render (file:///C:/Work/test-pagedjs-206/node_modules/pagedjs-cli/src/printer.js:222:4)
    at async Printer.pdf (file:///C:/Work/test-pagedjs-206/node_modules/pagedjs-cli/src/printer.js:290:14)
    at async file:///C:/Work/test-pagedjs-206/node_modules/pagedjs-cli/src/cli.js:174:10
    at layout (C:\Work\test-pagedjs-206\node_modules\pagedjs-cli\dist\browser.js:3796:28)
    at layout (C:\Work\test-pagedjs-206\node_modules\pagedjs-cli\dist\browser.js:3007:46)
ERROR: The process "8132" not found.

This isn't an issue with 0.4.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions