Good morning all,
I have created an Angular 20 project and the associated bitbucket pipeline and Dockerfile to run and upload an image. It is similar to our existing old project which was Angular 15.
However, when running the following in the Dockerfile:
RUN node ./node_modules/@angular/cli/bin/ng build --configuration=ci-build --project=compliance
I am seeing the following error:
<span><br>Unknown error: TypeError: isUnicodeSupported is not a function<br>ERROR: process "/bin/sh -c node ./node_modules/@angular/cli/bin/ng build --configuration=ci-build --project=compliance --progress=false --verbose" did not complete successfully: exit code: 127</span>
This is using:
node:22.18.0
@angular/build: ^20.1.5
Building with verbose did not add any additional information.
Is there anything else I can provide to help?