mikestead / lighthouse-batch

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

Failed to find Lighthouse CLI on Yarn 2 PnP #71

Open akasection opened 3 years ago

akasection commented 3 years ago

Hello!

I've been using lighthouse-batch as modules (import runner from 'lighthouse-batch') and surprisingly it's working properly (with correct parameters)

But when I tried migrating my project to Yarn v2 + PnP, lighthouse-batch just gives an error, "Failed to find Lighthouse CLI, aborting." and then stops, even though I already added 'lighthouse' as workspace package dependencies.