Not compatible with lighthouse 8.1.0
benjibee opened this issue · 1 comments
benjibee commented
Describe the bug
The latest release of lighthouse removes / moves the report-generator
module.
PR #269 is likely failing due to this error.
To Reproduce
Steps to reproduce the behavior:
- Install / update
lighthouse
8.1.0 via npm - install
auto-lighthouse
- run
auto-lighthouse --version
- See error code
MODULE_NOT_FOUND
Expected behavior
The current version of auto-lighthouse
Desktop (please complete the following information):
- OS: macOS
- Version 11.4
- Version of auto-lighthouse 2.0.3
Full error output
node:internal/modules/cjs/loader:930
throw err;
^
Error: Cannot find module 'lighthouse/lighthouse-core/report/report-generator'
Require stack:
- /opt/homebrew/lib/node_modules/auto-lighthouse/lighthouse_runner.js
- /opt/homebrew/lib/node_modules/auto-lighthouse/cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:927:15)
at Function.Module._load (node:internal/modules/cjs/loader:772:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object.<anonymous> (/opt/homebrew/lib/node_modules/auto-lighthouse/lighthouse_runner.js:3:24)
at Module._compile (node:internal/modules/cjs/loader:1095:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:816:12)
at Module.require (node:internal/modules/cjs/loader:999:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/opt/homebrew/lib/node_modules/auto-lighthouse/lighthouse_runner.js',
'/opt/homebrew/lib/node_modules/auto-lighthouse/cli.js'
]
}