Open serge22 opened 6 years ago
After reading the LH documentation, I found it's recommended to use the Chrome DevTools and it works well.
So can you replicate this in the extension still? I ran it on the extension, and it seems to work fine.
Chrome v69.0.3497.100/LH 3.2.1
Reinstalled the extension and it does not work for me still. Could it depends on OS? I'm using the Ubuntu 18.04.1 Video of the process: https://youtu.be/pCoOqlKcrxw
Reinstalled the extension and it does not work for me still. Could it depends on OS? I'm using the Ubuntu 18.04.1 Video of the process: https://youtu.be/pCoOqlKcrxw
It doesn't work for me neither on Manjaro Linux.
Thanks very much for the video @serge22! This is very strange, it might be linux specific. It's especially odd given that the page load looks completely normal, there's just something wrong with the trace Lighthouse is getting from Chrome.
I spun up a Ubuntu 18.04.1 LTS VM and was unable to repro this with Chrome/71.0.3559.0
Could you try updating Chrome @serge22 and let us know if that solves the issue?
I'll give it a go in the morning as well on my Ubuntu machine and Chrome stable
ubuntu 18.04.1 on chrome 69.0.3497.100
do you have it only on that machine? You could try chromium or canary and see if that works. How did you install chrome-stable on ubuntu?
Same here using Chromium: Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)
But it does function correctly from the devtools
Chrome Version 69.0.3497.100 (Official Build) (64-bit) Manjaro (so, arch) doesn't work as extension or dev tools. NO_FCP error
Doesn't work from either Dev Tools or the extension. Using Mint 18.3 and Chrome Version 69.0.3497.100 (Official Build) (64-bit).
Seeing the same issue, computer details:
Chrome Version 71.0.3578.80 (Official Build) (64-bit) Mac OS Mojave Version 10.14 (18A391) MacBook Pro (Retina, 13-inch, Mid 2014)
Hi,
It happens all the time when you have the next situation:
I've created a minimal reproducible demo for that https://github.com/webschik/lighthouse-no-fcp P.S. In the production I've fixed that by adding of the small static text to the page.
I was trying to audit an old website that was receiving these errors as well. Curious what are some possible likely causes of this?
edit:
We've got a fix in v4 that should hopefully mitigate many of these cases. If you're experiencing this, give it whirl with the latest extension and let us know how it goes.
Same issue here, it doesn't work either from DevTools or Chrome extension, computer details:
=============
Error Report from Chrome extension:
Lighthouse Version: 4.2.0 Lighthouse Commit: 35b285b87d681905777ed2545e48292312910485 Chrome Version: 73.0.3683.75 Initial URL: https://airhorner.com/ Error Message: NO_FCP Stack Trace:
LHError: NO_FCP
at chrome-extension://blipmdconlkpinefehnmjammfjpmpbjk/scripts/lighthouse-ext-bundle.js:21525:8
Same issue on Windows, it doesn't work either from DevTools or Chrome extension, computer details:
Error Report from Chrome extension:
Channel: DevTools
Initial URL: http://krooktjader.rproducts.eu/kontakt
Chrome Version: 74.0.3729.131
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f/audits2_worker/audits2_worker_module.js:1199:206)
Same issue on Mac
Enviroment:
Error:
Channel: DevTools
Initial URL: https://uworker.unicloud.com/web-oa/page/index.html#/dashboard
Chrome Version: 74.0.3729.131
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f/audits2_worker/audits2_worker_module.js:1199:206)
Same issue on Mac and Windows. Canary and Stable. I'm actually not able to copy the error because the dialog overlays the information and is gone when I click cancel, but it is the same as the above
Same Issue, my setup:
MacBook Pro 2015 MacOS Mojave 10.14.4 (18E226) Chrome Version 74.0.3729.157 (Official Build) (64-bit)
Am trying to audit a static site built with Gatsby.
Error message:
`NO_FCP
Channel: DevTools
Initial URL: https://digitalerbauer.de/
Chrome Version: 74.0.3729.157
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@7b16107ab85c5364cdcd0b2dea2539a1f2dc327a/audits2_worker/audits2_worker_module.js:1199:206)
Same issue on MacOS using Dev Tools. My setup is:
Error Report NO_FCP
Channel: DevTools
Initial URL: https://www.etsy.com/
Chrome Version: 74.0.3729.169
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@78e4f8db3ce38f6c26cf56eed7ae9b331fc67ada/audits2_worker/audits2_worker_module.js:1199:206)
I got this just now. Macbook Pro 15 inch 2018 MacOS Mojave 10.14.5 Chrome 74.0.3729.169 Ran LH from Chrome Dev Tools.
Error message: NO_FCP
Channel: DevTools
Initial URL: http://dinesen.com/
Chrome Version: 74.0.3729.169
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@78e4f8db3ce38f6c26cf56eed7ae9b331fc67ada/audits2_worker/audits2_worker_module.js:1199:206)
Getting the same Error
Macbook Air: 10.13.6 Chrome: Version 74.0.3729.169 (Official Build) (64-bit)
Error Message: NO_FCP
Channel: DevTools
Initial URL: https://www.paisabazaar.com/cards-ssr
Chrome Version: 74.0.3729.169
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@78e4f8db3ce38f6c26cf56eed7ae9b331fc67ada/audits2_worker/audits2_worker_module.js:1199:206)
NO_FCP error too on my old Debian Jessie (8.11) thru dev tools, but it works on the command line.
Getting the same error when debugging in Localhost on IIS Express [Visual Studio]:
NO_FCP
Channel: DevTools
Initial URL: https://localhost.randomwebsite.com:44300/en-us/shop/samsung-65-inch-flat-4k-ultra-hd-hdr-smart-tv-un65nu6900fxza/apd/aa283176/tv-home-theater
Chrome Version: 74.0.3729.169
Stack Trace: LHError: NO_FCP
at eval (chrome-devtools://devtools/remote/serve_file/@78e4f8db3ce38f6c26cf56eed7ae9b331fc67ada/audits2_worker/audits2_worker_module.js:1199:206)
Computer Details: Dell Precision 15: Windows 10 Enterprise (10.0.17134 Build 17134) Chrome: 74.0.3729.169
I have this issue only when the actual page isn't visible on my screen. If I move devtools to the side and have the window active, the FCP events etc. fire fine.
I already mentionned it wasn't working for my old Debian in https://github.com/GoogleChrome/lighthouse/issues/6154#issuecomment-504127802 but as @danhilltech stated, it works if the browser is shown.
@danhilltech that's expected and unavoidable - Chrome will prioritize rendering completely if the window is not visible.
@connorjclark It was working before even if the browser window was hidden.
@millette it's possible there was a Chrome renderer optimization implemented then, though at least on the Mac it's been this way for quite a while.
There's not much we can do here: if the browser decides to lazily render only when the tab becomes visible again, Lighthouse can't reliably measure when it would have rendered if the tab had been visible.
Maybe we could improve the error message suggesting to check that the tab was in the foreground?
Maybe we could improve the error message suggesting to check that the tab was in the foreground?
@brendankenny That would be appreciated :-)
Not working for me.
Had the same issue. @danhilltech's technique worked. Put the focus on the actual page and it works.
just check no throttling and it should work even if it is a little bit slow
lighthouse in vscode terminal is not working either! on windows 10
vscode 2019
Thanks a lot @saifalfalah! The solution you explained worked for me too.
Reproduced on Chrome OS 76.0.3809.102, @danhilltech's solution worked without a problem.
@danhilltech and @saifalfalah solutions might only work when using GUI version. What if I am using chrome headless with puppeteer?
https://github.com/GoogleChrome/chrome-launcher/pull/170 should have solved this for the CLI. #9650 will add a warning if the tested tab was backgrounded and Lighthouse should be run again.
also, #11579 (available in 6.5.0+) provided a more helpful error message:
The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)
The browser tab needs to remain visible while it's loading for Lighthouse to work.
Need to update this old PR: #9650
Provide the steps to reproduce
What is the current behavior?
NO_FCP, cannot measure performance. No matter is it a remote server or running on a localhost. Tried to do the same in new clean Chrome profile and got the same issue. CLI works just fine.
What is the expected behavior?
Expect LH to evaluate performance and check pwa checklist
Environment Information
Related issues
6134