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
I have a problem with running cypress >= 4.2.0 on Gitlab CI. With version 4.1.0 everything is ok.
I use cypress/base:12.16.1 image.
cypress: 4.2.0 - 4.5.0
The error I get:
Error: Failed to launch the browser process!
/builds/my-secret-app-folder/node_modules/puppeteer/.local-chromium/linux-737027/chrome-linux/chrome: error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/builds/my-secret-app-folder/node_modules/puppeteer/lib/Launcher.js:547:20)
at Interface.<anonymous> (/builds/my-secret-app-folder/node_modules/puppeteer/lib/Launcher.js:537:65)
error Command failed with exit code 1.
The temporary solution (I've added the missing dependency by myself in gitlab-ci.yaml
script:
- apt-get update
- apt-get install -y --no-install-recommends libgbm-dev
- ...rest of my scripts
But I guess it would be nice to have it in the base image :)
I could add it as a new PR but I didn't know if I should edit all Docker files 🤔 or just 12.16.1 (which I use). What is the process of adding a new dependency to cypress-docker-images? :)
Hi,
I have a problem with running cypress >= 4.2.0 on Gitlab CI. With version 4.1.0 everything is ok.
I use
cypress/base:12.16.1
image.cypress: 4.2.0 - 4.5.0
The error I get:
The temporary solution (I've added the missing dependency by myself in gitlab-ci.yaml
But I guess it would be nice to have it in the base image :)
I could add it as a new PR but I didn't know if I should edit all Docker files 🤔 or just 12.16.1 (which I use). What is the process of adding a new dependency to cypress-docker-images? :)
Refs:
The text was updated successfully, but these errors were encountered: