Angular Pipeline - error with Shared Library

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: cannot open shared object file: No such file or directory
This is the step that is failing:
And this is the repo:
I saw this possible solution

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?