The frontend image fails during build. This seems to be related to the the typescript package causing an issue with @types/node
=> ERROR [build 6/6] RUN npx ng build 68.0s
------
> [build 6/6] RUN npx ng build:
#14 3.361 - Generating browser application bundles (phase: setup)...
#14 66.18 ✔ Browser application bundle generation complete.
#14 67.60 ✔ Browser application bundle generation complete.
#14 67.61
#14 67.61 Warning: /usr/local/app/node_modules/ngx-scrollbar/fesm2020/ngx-scrollbar-smooth-scroll.mjs depends on 'bezier-easing'. CommonJS or AMD dependencies can cause optimization bailouts.
#14 67.61 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
#14 67.61
#14 67.61 Warning: /usr/local/app/src/app/auth/services/auth.service.ts depends on '@openid/appauth'. CommonJS or AMD dependencies can cause optimization bailouts.
#14 67.61 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
#14 67.61
#14 67.61 Warning: /usr/local/app/src/app/channel/channel/channel-playlists/channel-playlists-overview/channel-playlists-overview.component.ts depends on 'guid-typescript'. CommonJS or AMD dependencies can cause optimization bailouts.
#14 67.61 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
#14 67.61
#14 67.61 Warning: /usr/local/app/src/app/watch-video/watch-video/watch-video.component.ts depends on 'moment'. CommonJS or AMD dependencies can cause optimization bailouts.
#14 67.61 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
#14 67.61
#14 67.61
#14 67.61
#14 67.61 Error: node_modules/@types/node/ts4.8/crypto.d.ts:4477:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'crypto' must be of type 'Crypto', but here has type 'Crypto'.
#14 67.61
#14 67.61 4477 var crypto: webcrypto.Crypto;
#14 67.61 ~~~~~~
#14 67.61
#14 67.61 node_modules/typescript/lib/lib.dom.d.ts:18084:13
#14 67.61 18084 declare var crypto: Crypto;
#14 67.61 ~~~~~~
#14 67.61 'crypto' was also declared here.
#14 67.61
#14 67.61
#14 67.61
------
executor failed running [/bin/sh -c npx ng build]: exit code: 1
The frontend image fails during build. This seems to be related to the the typescript package causing an issue with @types/node