How to fix “Lighthouse returned error: NO_FCP.” when running Google Page Speed Test?

依然范特西╮ 提交于 2019-12-10 12:56:36

问题


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 OSCtrl + Shift + Del
    Mac⌘ + Shift + Delete

  • Using an Incognito window:
    Windows, Linux, or Chrome OSCtrl + Shift + N
    Mac⌘ + Shift + N


来源:https://stackoverflow.com/questions/55826735/how-to-fix-lighthouse-returned-error-no-fcp-when-running-google-page-speed-t

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!