4

As the title says I'm trying to generate a report for my nuxt app served locally. If I generate the report via DevTools it takes an extremely long time and gives me exceptionally bad scoring(compared to generating the report on the same site deployed).

If I try using the lighthouse extension the "Generate report" button is disabled.

Am I going about this wrong or is there any way to locally generate valid reports?

Thanks in advance.

Images:

chrome extension

devtools

leetajz
  • 41
  • 1
  • 3

2 Answers2

3

Is your application PWA? Service workers are causing this. Try unchecking clear storage / clear cache option to the right of the window under the lighthouse tab, sometimes collapsed under a settings icon. If it's still not generating a report, do the same in an incognito window.

The issue:

enter image description here

The option:

enter image description here

enter image description here

And it works:

enter image description here

Ashique Razak
  • 487
  • 3
  • 8
0

I think it's because you're not trying lighthouse in incognito mode. Browser extensions can cause that problem.

  • Click on the three dots under close button
  • Select New Incognito Window
  • Enter your website address
  • Run lighthouse