Builds and publishes the O3 Frontend

Build: #1501 failed Manual run by Github Actions

Build result summary

Details

Completed
Queue duration
1 second
Duration
6 seconds
Labels
None
Agent
xindi.openmrs.org
Revision
7a40ad9c1f9efe2993560e3806d18f9a2b6f7d28 7a40ad9c1f9efe2993560e3806d18f9a2b6f7d28
Failing since
#1500 (Manual run by Github Actions)
Fixed in
#1502 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #1500
No one has taken responsibility

Error summary for Default Job

The job generated some errors, drill down into the full build log for more details.

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

#3 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#3 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

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.46kB done
#1 DONE 0.0s

#5 [internal] load build definition from Dockerfile
#5 DONE 0.0s

#6 [internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.0s

#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/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/node:18-alpine
#10 DONE 0.3s

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

#12 [internal] load build context
#12 transferring context: 7.01kB done
#12 DONE 0.0s

#13 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#13 ...

#14 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#14 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#14 DONE 0.1s

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

#16 [linux/amd64 dev 2/8] RUN mkdir -p /app
#16 CACHED

#17 [linux/amd64 dev 3/8] WORKDIR /app
#17 CACHED

#18 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#18 CACHED

#19 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#19 CACHED

#20 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#20 2.245 npm warn exec The following package was not found and will be installed: openmrs@6.0.1-pre.2563
#20 2.480 npm error code ETARGET
#20 2.481 npm error notarget No matching version found for openmrs@6.0.1-pre.2563.
#20 2.482 npm error notarget In most cases you or one of your dependencies are requesting
#20 2.482 npm error notarget a package version that doesn't exist.
#20 2.488 npm notice
#20 2.488 npm notice New minor version of npm available! 10.8.2 -> 10.9.2
#20 2.488 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
#20 2.488 npm notice To update run: npm install -g npm@10.9.2
#20 2.488 npm notice
#20 2.489 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-13T19_49_34_065Z-debug-0.log
#20 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa:
#20 2.480 npm error code ETARGET
#20 2.481 npm error notarget No matching version found for openmrs@6.0.1-pre.2563.
#20 2.482 npm error notarget In most cases you or one of your dependencies are requesting
#20 2.482 npm error notarget a package version that doesn't exist.
#20 2.488 npm notice
#20 2.488 npm notice New minor version of npm available! 10.8.2 -> 10.9.2
#20 2.488 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
#20 2.488 npm notice To update run: npm install -g npm@10.9.2
#20 2.488 npm notice
#20 2.489 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-13T19_49_34_065Z-debug-0.log
------
Dockerfile:16
--------------------
  14 |     
  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
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa" did not complete successfully: exit code: 1