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

Refresh puppeteer version and other npm dependencies #60

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

taomoh
Copy link

@taomoh taomoh commented Dec 1, 2023

When running ASPeL services locally, use of html-pdf-converter service results in the error further below. The puppeteer version used in this service is quite old (3.x). Upgrading to 21.x eliminated the error.

I took this opportunity to refresh other dependencies and also upgrade Drone containers from node 14 to 18

error: Failed creating PDF message=Protocol error (Target.setDiscoverTargets): Target closed., stack=Error: Protocol error (Target.setDiscoverTargets): Target closed. 2023-12-01 10:45:07 at /app/node_modules/puppeteer/lib/Connection.js:53:63 2023-12-01 10:45:07 at new Promise (<anonymous>) 2023-12-01 10:45:07 at Connection.send (/app/node_modules/puppeteer/lib/Connection.js:52:16) 2023-12-01 10:45:07 at Browser.create (/app/node_modules/puppeteer/lib/Browser.js:43:26) 2023-12-01 10:45:07 at ChromeLauncher.launch (/app/node_modules/puppeteer/lib/Launcher.js:79:53) 2023-12-01 10:45:07 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

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 this pull request may close these issues.

1 participant