Plan responsible for building Docker images for the 3.x demo and development sites
Build: #375 failed
Job: Build Frontend failed
Job result summary
- Completed
- Duration
- 54 seconds
- Revision
-
9d1750d97cf788dc9361e78a0a56e278be98c4da
9d1750d97cf788dc9361e78a0a56e278be98c4da - Failing since
- #374 (Manual run by Github Actions – )
- Fixed in
- #376 (Manual run by Github Actions)
Error summary
The build generated some errors. See the full build log for more details.
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1667403801 -t openmrs/openmrs-reference-application-3-frontend:nightly -t openmrs/openmrs-reference-application-3-frontend:dev3 frontend/
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 926B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 resolve image config for docker.io/docker/dockerfile:1.3
#4 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/arm64 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
#9 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#9 DONE 0.4s
#10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#10 DONE 0.5s
#6 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 DONE 0.5s
#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 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.1s
#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.287 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.399
#18 27.90 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 30.18 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 51.82 [openmrs] Cannot find module 'esbuild-loader'
#18 51.82 Require stack:
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 51.82 - /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:
#18 27.90 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 30.18 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 51.82 [openmrs] Cannot find module 'esbuild-loader'
#18 51.82 Require stack:
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 51.82 - /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
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 926B done
#1 DONE 0.1s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 resolve image config for docker.io/docker/dockerfile:1.3
#4 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/arm64 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
#9 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#9 DONE 0.4s
#10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#10 DONE 0.5s
#6 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 DONE 0.5s
#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 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.1s
#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.287 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.399
#18 27.90 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 30.18 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 51.82 [openmrs] Cannot find module 'esbuild-loader'
#18 51.82 Require stack:
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 51.82 - /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:
#18 27.90 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 30.18 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 51.82 [openmrs] Cannot find module 'esbuild-loader'
#18 51.82 Require stack:
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/@openmrs/esm-app-shell/webpack.config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/config.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/utils/index.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js
#18 51.82 - /root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js
#18 51.82 - /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