Refresh puppeteer version and other npm dependencies #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)