Closed loicjaouen closed 1 year ago
> [builder 7/7] RUN npm run build: #0 0.399 #0 0.399 > site2020@0.0.0 build /app #0 0.399 > ng build #0 0.399 #0 1.636 NOT SUPPORTED: option jsonPointers. Deprecated jsPropertySyntax can be used instead. #0 1.639 An unhandled exception occurred: Cannot read property 'allErrors' of undefined #0 1.639 See "/tmp/ng-EkndCf/angular-errors.log" for further details. #0 1.646 npm ERR! code ELIFECYCLE #0 1.646 npm ERR! syscall spawn #0 1.646 npm ERR! file sh #0 1.646 npm ERR! errno ENOENT #0 1.647 npm ERR! site2020@0.0.0 build: `ng build` #0 1.647 npm ERR! spawn ENOENT #0 1.647 npm ERR! #0 1.647 npm ERR! Failed at the site2020@0.0.0 build script. #0 1.647 npm ERR! This is probably not a problem with npm. There is likely additional logging output above. #0 1.650 #0 1.650 npm ERR! A complete log of this run can be found in: #0 1.650 npm ERR! /root/.npm/_logs/2023-05-30T05_57_01_269Z-debug.log ------ Dockerfile:10 -------------------- 8 | 9 | COPY . . 10 | >>> RUN npm run build 11 | 12 | FROM nginx:alpine --------------------