You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LHCI fails to run puppeteer script for authentication. Fails with error Unable to require 'puppeteer' for script, have you run 'npm i puppeteer'?.
Puppeteer is installed and made available using
yarn add puppeteer --dev
Error
~/S/r/lighthouse ❯❯❯ lhci autorun
✅ .lighthouseci/ directory writable
✅ Configuration file found
✅ Chrome installation found
✅ Ancestor hash determinable
✅ LHCI server reachable
✅ LHCI server API-compatible
✅ LHCI server token valid
⚠️ LHCI server non-unique build for this hash
Healthcheck passed!
Error: Unable to require 'puppeteer' for script, have you run 'npm i puppeteer'?
at PuppeteerManager._getBrowser (/usr/local/lib/node_modules/@lhci/cli/src/collect/puppeteer-manager.js:48:13)
at PuppeteerManager.invokePuppeteerScriptForUrl (/usr/local/lib/node_modules/@lhci/cli/src/collect/puppeteer-manager.js:96:32)
at Object.runCommand (/usr/local/lib/node_modules/@lhci/cli/src/collect/collect.js:189:23)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async run (/usr/local/lib/node_modules/@lhci/cli/src/cli.js:85:7)
LHCI version: 0.3.14
LHCI fails to run puppeteer script for authentication. Fails with error
Unable to require 'puppeteer' for script, have you run 'npm i puppeteer'?
.Puppeteer is installed and made available using
Error
lighthouserc.js
login-script.js
The text was updated successfully, but these errors were encountered: