Closed henninggross closed 1 year ago
Nice! I ran both images, and then executed npx
in them.
I think mkdir -p /opt/app-root/src/.npm-global/lib
fixes the issue for the newer images. I believe this has to do with the newer version of NPM (8.19.2 instead of 8.15.0)
Red Hat published new releases of a lot of ubi8 images (https://access.redhat.com/errata/RHBA-2023:0132) on 2023-01-12 which includes
ubi8/nodejs-16
andubi8/nodejs-18
.This causes our tests which invoke
jest
vianpx
to fail with the following error:Using the previous release of
ubi8/nodejs-16
viaFROM registry.access.redhat.com/ubi8/nodejs-16:1-72
does not produce this error.However it seems that all previous releases of
ubi8/nodejs-18
produce this error, but further investigation is needed.