Builds and publishes the O3 Frontend
Build: #91 failed Manual run by Github Actions
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 1 minute
- Labels
- None
- Agent
- xindi.openmrs.org
- Revision
-
10bbb0c4e2c9ab17015e7cdcd72065e4759b7565
10bbb0c4e2c9ab17015e7cdcd72065e4759b7565 - Fixed in
- #94 (Manual run by Github Actions)
Responsible
No one has taken responsibility for this failure
Error summary for Default Job
The job generated some errors, drill down into the full build log for more details.
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1.3
#2 DONE 0.3s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
#4 CACHED
#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s
#6 [auth] library/nginx:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [auth] library/node:pull token for registry-1.docker.io
#7 DONE 0.0s
#8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#8 ...
#9 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#9 DONE 0.2s
#10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#10 DONE 0.2s
#8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#8 DONE 0.2s
#11 [internal] load build context
#11 DONE 0.0s
#12 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:0085670310d2879621f96a4216c893f92e2ded827e9e6ef8437672e1bd72f437
#12 resolve docker.io/library/node:18-alpine@sha256:0085670310d2879621f96a4216c893f92e2ded827e9e6ef8437672e1bd72f437 0.1s done
#12 DONE 0.1s
#13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076 0.1s done
#13 DONE 0.1s
#11 [internal] load build context
#11 transferring context: 5.53kB done
#11 DONE 0.0s
#14 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#14 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076 0.1s done
#14 DONE 0.1s
#15 [linux/amd64 dev 3/8] WORKDIR /app
#15 CACHED
#16 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#16 CACHED
#17 [linux/amd64 dev 2/8] RUN mkdir -p /app
#17 CACHED
#18 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#18 CACHED
#19 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#19 2.138 npm WARN exec The following package was not found and will be installed: openmrs@5.4.1-pre.1532
#19 30.75 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#19 31.68 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#19 33.18 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#19 34.54 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#19 34.70 npm WARN deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
#19 36.03 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
#19 56.36 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#19 56.37 [openmrs] Assembling dependencies and building import map and routes registry...
#19 61.62 [openmrs] Finished assembling frontend distribution
#19 61.64 npm notice
#19 61.64 npm notice New minor version of npm available! 10.2.3 -> 10.4.0
#19 61.64 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#19 61.64 npm notice Run `npm install -g npm@10.4.0` to update!
#19 61.64 npm notice
#19 DONE 62.3s
#20 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#20 3.980 [openmrs] Running build process ...
#20 5.563 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',Error: Can't find self.__WB_MANIFEST in your SW source.
#20 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 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa:
#20 3.980 [openmrs] Running build process ...
#20 5.563 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',Error: Can't find self.__WB_MANIFEST in your SW source.
------
Dockerfile:17
--------------------
15 | ARG CACHE_BUST
16 | RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
17 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
18 | RUN if [ ! -f ./spa/index.html ]; then echo 'Build failed. Please check the logs above for details. This may have happened because of an update to a library that OpenMRS depends on.'; exit 1; fi
19 |
--------------------
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
#3 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1.3
#2 DONE 0.3s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
#4 CACHED
#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s
#6 [auth] library/nginx:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [auth] library/node:pull token for registry-1.docker.io
#7 DONE 0.0s
#8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#8 ...
#9 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#9 DONE 0.2s
#10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#10 DONE 0.2s
#8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#8 DONE 0.2s
#11 [internal] load build context
#11 DONE 0.0s
#12 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:0085670310d2879621f96a4216c893f92e2ded827e9e6ef8437672e1bd72f437
#12 resolve docker.io/library/node:18-alpine@sha256:0085670310d2879621f96a4216c893f92e2ded827e9e6ef8437672e1bd72f437 0.1s done
#12 DONE 0.1s
#13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076 0.1s done
#13 DONE 0.1s
#11 [internal] load build context
#11 transferring context: 5.53kB done
#11 DONE 0.0s
#14 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076
#14 resolve docker.io/library/nginx:1.25-alpine@sha256:f2802c2a9d09c7aa3ace27445dfc5656ff24355da28e7b958074a0111e3fc076 0.1s done
#14 DONE 0.1s
#15 [linux/amd64 dev 3/8] WORKDIR /app
#15 CACHED
#16 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#16 CACHED
#17 [linux/amd64 dev 2/8] RUN mkdir -p /app
#17 CACHED
#18 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#18 CACHED
#19 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#19 2.138 npm WARN exec The following package was not found and will be installed: openmrs@5.4.1-pre.1532
#19 30.75 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#19 31.68 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#19 33.18 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#19 34.54 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#19 34.70 npm WARN deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
#19 36.03 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
#19 56.36 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#19 56.37 [openmrs] Assembling dependencies and building import map and routes registry...
#19 61.62 [openmrs] Finished assembling frontend distribution
#19 61.64 npm notice
#19 61.64 npm notice New minor version of npm available! 10.2.3 -> 10.4.0
#19 61.64 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#19 61.64 npm notice Run `npm install -g npm@10.4.0` to update!
#19 61.64 npm notice
#19 DONE 62.3s
#20 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#20 3.980 [openmrs] Running build process ...
#20 5.563 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',Error: Can't find self.__WB_MANIFEST in your SW source.
#20 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 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa:
#20 3.980 [openmrs] Running build process ...
#20 5.563 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',ModuleNotFoundError: Module not found: Error: Can't resolve 'swc-loader' in '/app',Error: Can't find self.__WB_MANIFEST in your SW source.
------
Dockerfile:17
--------------------
15 | ARG CACHE_BUST
16 | RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
17 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
18 | RUN if [ ! -f ./spa/index.html ]; then echo 'Build failed. Please check the logs above for details. This may have happened because of an update to a library that OpenMRS depends on.'; exit 1; fi
19 |
--------------------
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