Home
Support Forums

Netlify-plugin-lighthouse fails with Ubuntu Focal 20.04

Using Ubuntu Focal 20.04 I receive the following error:

9:20:23 AM: LH:ChromeLauncher Waiting for browser… +502ms
9:20:24 AM: LH:ChromeLauncher Waiting for browser… +502ms
9:20:24 AM: LH:ChromeLauncher Waiting for browser… +502ms
9:20:25 AM: LH:ChromeLauncher Waiting for browser… +502ms
9:20:25 AM: LH:ChromeLauncher Waiting for browser… +501ms
9:20:25 AM: LH:ChromeLauncher:error connect ECONNREFUSED 127.0.0.1:37539 +2ms
9:20:25 AM: LH:ChromeLauncher:error Logging contents of /tmp/lighthouse.H8FWW5N/chrome-err.log +0ms
9:20:25 AM: LH:ChromeLauncher:error /opt/build/repo/node_modules/puppeteer/.local-chromium/linux-901912/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
9:20:25 AM: LH:ChromeLauncher:error +0ms

If I use the Ubuntu Xenial 16.04 image then it is successful.

Hey there, @scottfwalter :wave:

Welcome to the Netlify Forums, and thanks for bringing this up to us. I also see you opened an issue here, which we appreciate! The appropriate teams are currently aware of this issue.

Downgrading the build image to Ubuntu Xenial is the solution for now. We have an issue open internally and I have filed this instance on it, so we do not need anything else on your end!

1 Like