lighthouse
lighthouse copied to clipboard
Stuck with puppeteer v21.0.1
FAQ
- [X] Yes, my issue is not about variability or throttling.
- [X] Yes, my issue is not about a specific accessibility audit (file with axe-core instead).
URL
https://github.com
What happened?
Run just stucks. After a while, I found that the reason is puppeteer version in this commit. puppeteer 20.8.0 - works puppeteer 21.0.1 - doesn't work
What did you expect?
That it will work...
What have you tried?
I tested 10.4.0
vs 11.0.0
. In 10.4.0
everything okay, but in 11.0.0
it stucks forever.
When I used lighthouse programmatically I overrided puppeteer version, and then it works fine.
I used this Docker image for testing. It already has Chrome, and you need install only particular lighthouse version. Command for reproducing:
lighthouse --chrome-flags="--headless=new --no-sandbox --ignore-certificate-errors --disable-dev-shm-usage" https://github.com
How were you running Lighthouse?
CLI
Lighthouse Version
11.0.0
Chrome Version
107.0.5304.62
Node Version
20.9.0
OS
Linux 29b727053b9e 6.4.16-linuxkit #1 SMP PREEMPT Wed Oct 25 16:32:24 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Relevant log output
No response
I can't reproduce outside Docker so it's possibly something in the Docker environment. Does this reproduce with the latest version of Lighthouse (v11.3.0)?
Yep, seems like it releates with Docker environment. I tried on Mac, and didn't caught this bug. Yes, it does, it reproduces with 11.3.0, because puppeteer still here. When I used programatically 11.3.0 I just overrided puppeteer to 20.8.0, and it works