问题
I am running the Google Page Speed test for https://www.oceanluxe.com.au and get the following message:
> Lighthouse returned error: NO_FCP. Something went wrong with the recording
> the trace over your page load. Please run the Lighthouse again. (NO_FCP)
> (NO_FCP)
Can anyone help?
Tried on different servers, tried various URLs as well http://oceanluxe.com.au
回答1:
Try to do a test again in incognito mode. I had the same problem today and clearing the cookies and cached files helped in my case.
回答2:
You can try this work around, it helped me:
First open "https://www.google.com/" or any good website URL then open you website URL. This may show two tabs mobile and desktop. The mobile tab may give same error so one should click on Desktop tab, it may show status of that URL.
回答3:
I got the same error. It was because the page was not able to print anything on the screen within a stipulated time.I just printed something before time consuming code and that fixed the issue.
回答4:
Two things can interfere when using the lighthouse tool:
- Extensions used
- Cookies and cached files
Therefore a 'workaround' here should be straightforward:
- Clearing browser data:
Windows, Linux, or Chrome OS ➖Ctrl + Shift + Del
Mac ➖⌘ + Shift + Delete
- Using an Incognito window:
Windows, Linux, or Chrome OS ➖Ctrl + Shift + N
Mac ➖⌘ + Shift + N
来源:https://stackoverflow.com/questions/55826735/how-to-fix-lighthouse-returned-error-no-fcp-when-running-google-page-speed-t