Plan responsible for building Docker images for the 3.x demo and development sites

Build: #374 failed

Job: Build Frontend failed

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
1 minute
Revision
d0a8ca0174ceebfda76a1b60e78cd4ea41c6e9ee d0a8ca0174ceebfda76a1b60e78cd4ea41c6e9ee
Fixed in
#376 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.


#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 926B done
#2 DONE 0.1s

#3 resolve image config for docker.io/docker/dockerfile:1.3
#3 ...

#4 [auth] docker/dockerfile:pull token for registry-1.docker.io
#4 DONE 0.0s

#3 resolve image config for docker.io/docker/dockerfile:1.3
#3 DONE 0.4s

#5 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#5 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
#5 CACHED

#6 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 ...

#7 [auth] library/nginx:pull token for registry-1.docker.io
#7 DONE 0.0s

#8 [auth] library/node:pull token for registry-1.docker.io
#8 DONE 0.0s

#6 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 DONE 0.3s

#9 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#9 DONE 0.3s

#10 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#10 DONE 0.3s

#11 [internal] load build context
#11 DONE 0.0s

#12 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:2452715dd322b3273419652b7721b64aa60305f606ef7a674ae28b6f12d155a3
#12 resolve docker.io/library/nginx:1.23-alpine@sha256:2452715dd322b3273419652b7721b64aa60305f606ef7a674ae28b6f12d155a3
#12 resolve docker.io/library/nginx:1.23-alpine@sha256:2452715dd322b3273419652b7721b64aa60305f606ef7a674ae28b6f12d155a3 0.1s done
#12 DONE 0.1s

#13 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:2452715dd322b3273419652b7721b64aa60305f606ef7a674ae28b6f12d155a3
#13 resolve docker.io/library/nginx:1.23-alpine@sha256:2452715dd322b3273419652b7721b64aa60305f606ef7a674ae28b6f12d155a3 0.1s done
#13 DONE 0.1s

#14 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:1f09c210a17508d34277971b19541a47a26dc5a641dedc03bd28cff095052996
#14 resolve docker.io/library/node:18-alpine@sha256:1f09c210a17508d34277971b19541a47a26dc5a641dedc03bd28cff095052996 0.1s done
#14 DONE 0.1s

#11 [internal] load build context
#11 transferring context: 4.99kB done
#11 DONE 0.0s

#15 [linux/amd64 dev 2/6] RUN mkdir -p /app
#15 CACHED

#16 [linux/amd64 dev 3/6] WORKDIR /app
#16 CACHED

#17 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#17 CACHED

#18 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#18 1.659 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.399
#18 33.27 npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
#18 35.66 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#18 59.95 [openmrs] Cannot find module 'esbuild-loader'
#18 59.95 Require stack:
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/runner.js
#18 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa:
WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#18 59.95 [openmrs] Cannot find module 'esbuild-loader'
#18 59.95 Require stack:
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 59.95 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/runner.js
------
Dockerfile:12
--------------------
  10 |     
  11 |     ARG CACHE_BUST
  12 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
  13 |     RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --mode config --config spa-build-config.json --target ./spa
  14 |     
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1