I am running lighthouse for localhost:3000 server but it is failing and throwing "Error: Lighthouse failed with exit code 1" #857
Unanswered
nikhilNiwate03
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my Config file (lighthouserc.js)
module.exports = {
ci: {
collect: {
startServerCommand: 'npm run dev',
url: ['http://localhost:3000']
},
upload: {
target: 'lhci',
serverBaseUrl: 'http://localhost:3000'
},
assert: {
preset: 'lighthouse:no-pwa'
}
}
};
Beta Was this translation helpful? Give feedback.
All reactions