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

Updating to decktape 3.11 caused panic #320

Closed
ssp2023 opened this issue Jan 4, 2024 · 3 comments · Fixed by #323
Closed

Updating to decktape 3.11 caused panic #320

ssp2023 opened this issue Jan 4, 2024 · 3 comments · Fixed by #323

Comments

@ssp2023
Copy link

ssp2023 commented Jan 4, 2024

Running decktape 3.11 with this config-
"decktape", "automatic", htmlURL, pdfFile, "--chrome-path", "/usr/bin/google-chrome", "--chrome-arg=--no-sandbox"

I get the following, rolling back to 3.10 fixes the issue. It's running node-20-alpine container.

2024-01-03 22:10:00.493 PST Printing slide #4 ( 4/ ?) ... 2024-01-03 22:10:03.204 PST Printing slide #5 ( 5/ ?) ...TypeError: arg.executionContext is not a function at file:///usr/local/lib/node_modules/decktape/decktape.js:277:55 2024-01-03 22:10:03.204 PST at Array.map (<anonymous>) 2024-01-03 22:10:03.204 PST at file:///usr/local/lib/node_modules/decktape/decktape.js:277:40 2024-01-03 22:10:03.204 PST at file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:1:242 2024-01-03 22:10:03.204 PST at Array.map (<anonymous>) 2024-01-03 22:10:03.204 PST at Object.emit (file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:1:226) 2024-01-03 22:10:03.204 PST at CdpPage.emit (file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/puppeteer/common/EventEmitter.js:85:23) 2024-01-03 22:10:03.204 PST at #addConsoleMessage (file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js:665:14) 2024-01-03 22:10:03.204 PST at #onConsoleAPI (file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Page.js:612:32) 2024-01-03 22:10:03.204 PST at file:///usr/local/lib/node_modules/decktape/node_modules/puppeteer-core/lib/esm/third_party/mitt/mitt.js:1:242

@astefanutti
Copy link
Owner

astefanutti commented Jan 4, 2024

Thanks a lot for reporting the issue. By chance, would you be able to share your presentation so I can reproduce on my end?

@ssp2023
Copy link
Author

ssp2023 commented Jan 4, 2024 via email

@astefanutti
Copy link
Owner

I would need the HTML presentation. No worries if it cannot be shared.

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

Successfully merging a pull request may close this issue.

2 participants