Skip to content

Conversation

ohoareau
Copy link
Contributor

@ohoareau ohoareau commented Nov 7, 2023

No description provided.

@gmetais
Copy link
Contributor

gmetais commented Jan 7, 2024

Hi Olivier,
Happy New Year!

The "Unhandled Promise Rejection" error you encountered is related to a Puppeteer option called headless: "new" that was introduced in Phantomas.

The fix in Phantomas is not ready yet, so I can't update YLT, but I tested a hotfix on my local docker image.

Here is a line I added to your Dockerfile.lambda file (this command adds a double slash at the beginning of the line 35):

RUN sed -i '35 s/^/\/\//' node_modules/phantomas/lib/browser.js

It might be used as a temporary fix. I'll let you know when the final fix is available.

ohoareau and others added 2 commits July 4, 2024 11:48
this reduces the generated report data's size sent to symphony
(from ~1.1M to 300K on google.com)
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.

3 participants