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.
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.