mikestead / lighthouse-batch

Run Lighthouse analysis over multiple sites in a single command
MIT License
153 stars 42 forks source link

How to use lighthouse-batch with latest lighthouse version #82

Open monsuj opened 1 year ago

monsuj commented 1 year ago

HI There,

I am trying to run lighthouse batch but it always taking lighthouse version 8.6.0

How can i modify lighthouse-batch to use latest lighthouse version 11.0.0.

I have tried updating "package.json" with

"dependencies": { "commander": "^2.9.0", "lighthouse": "^11.0.0", "shelljs": "^0.8.4" } then npm install but its giving me error as while running lighthouse-batch:

C:\Windows\System32>lighthouse-batch Failed to find Lighthouse CLI, aborting.

Please note that lighthouse 11.0.0 is already installed in my machine: C:\Windows\System32>lighthouse --version 11.0.0

tiansengkear commented 1 year ago

Hi @monsuj,

Lighthouse v11.1.0 folder directory is difference from v8.3.0 You will need to update the following locations:

From lighthouse-cli To cli

Thanks!

joelhsmith commented 10 months ago

Hi @mikestead would you be willing to release a new version of lighthouse-batch that runs on the latest version of Lighthouse?