Hello, I’m trying to do a pipeline for a basic angular app.
I’m using jasmine for unit testing and when the pipeline runs the
npm test it fails due to an error:
error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
This is the step that is failing: https://gitlab.com/sebaslunasllr/pet-boog/-/jobs/804007060
And this is the repo: https://gitlab.com/sebaslunasllr/pet-boog/-/blob/master/.gitlab-ci.yml
I saw this possible solution https://medium.com/@ssmak/how-to-fix-puppetteer-error-while-loading-shared-libraries-libx11-xcb-so-1-c1918b75acc3
But I tried running the
apt-get in the pipeline and it failed too.
Not sure what I’m doing wrong.
Does someone know what I need to do in order to get the pipeline up and running?