Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined 'childNodes' #3

Open
lunarcloud opened this issue Aug 27, 2024 · 0 comments
Open

Undefined 'childNodes' #3

lunarcloud opened this issue Aug 27, 2024 · 0 comments

Comments

@lunarcloud
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant