Builds and publishes the O3 Frontend

Build: #3978 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
4 minutes
Agent
xiao.openmrs.org
Revision
69ce2f7f12cd98d78edc3b1f0ab75cf46eeea5af
Fixed in
#3979 (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.

#15 8.954 (4/18) Upgrading ca-certificates-bundle (20230506-r0 -> 20250911-r0)
#15 8.976 (5/18) Upgrading libcrypto3 (3.1.4-r6 -> 3.1.8-r1)
#15 9.117 (6/18) Upgrading libssl3 (3.1.4-r6 -> 3.1.8-r1)
#15 9.151 (7/18) Upgrading ssl_client (1.36.1-r15 -> 1.36.1-r20)
#15 9.163 (8/18) Upgrading ca-certificates (20240226-r0 -> 20250911-r0)
#15 9.217 (9/18) Installing libpsl (0.21.5-r0)
#15 9.232 (10/18) Upgrading libcurl (8.5.0-r0 -> 8.14.1-r2)
#15 9.266 (11/18) Upgrading curl (8.5.0-r0 -> 8.14.1-r2)
#15 9.291 (12/18) Upgrading musl-utils (1.2.4_git20230717-r4 -> 1.2.4_git20230717-r5)
#15 9.304 (13/18) Upgrading libexpat (2.6.2-r0 -> 2.7.3-r0)
#15 9.320 (14/18) Upgrading libpng (1.6.40-r0 -> 1.6.44-r0)
#15 9.338 (15/18) Upgrading xz-libs (5.4.5-r0 -> 5.4.5-r1)
#15 9.357 (16/18) Upgrading libxml2 (2.11.7-r0 -> 2.11.8-r3)
#15 9.427 (17/18) Upgrading libxslt (1.1.39-r0 -> 1.1.39-r1)
#15 9.457 (18/18) Upgrading tzdata (2024a-r0 -> 2025b-r0)
#15 9.780 Executing busybox-1.36.1-r20.trigger
#15 9.833 Executing ca-certificates-20250911-r0.trigger
#15 10.27 OK: 47 MiB in 67 packages
#15 10.60 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
#15 11.48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
#15 12.68 (1/5) Installing perl (5.38.5-r0)
#15 13.82 (2/5) Installing perl-timedate (2.33-r3)
#15 13.85 (3/5) Installing perl-io-tty (1.18-r0)
#15 13.87 (4/5) Installing perl-ipc-run (20231003.0-r0)
#15 13.89 (5/5) Installing moreutils (0.68-r0)
#15 13.92 Executing busybox-1.36.1-r20.trigger
#15 13.98 OK: 90 MiB in 72 packages
#15 DONE 14.3s

#21 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#21 ...

#26 [linux/arm64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/*
#26 DONE 0.3s

#21 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#21 ...

#27 [linux/arm64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#27 DONE 0.1s

#28 [linux/arm64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh
#28 DONE 0.2s

#21 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#21 ...

#29 [linux/arm64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf
#29 DONE 0.1s

#21 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#21 124.0 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#21 125.0 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#21 125.6 npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#21 126.1 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#21 126.5 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#21 127.3 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
#21 127.8 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
#21 129.5 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
#21 129.5 npm warn deprecated npmlog@6.0.2: This package is no longer supported.
#21 129.6 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
#21 130.3 npm warn deprecated gauge@4.0.4: This package is no longer supported.
#21 130.5 npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#21 135.0 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
#21 135.1 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#21 135.4 npm warn deprecated phin@3.7.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#21 136.0 npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
#21 136.0 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#21 136.2 npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
#21 136.6 npm warn deprecated source-map@0.8.0-beta.0: The work that was done in this beta branch won't be included in future versions
#21 161.2 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#21 161.2 [openmrs] Assembling dependencies and building import map and routes registry...
#21 169.5 [openmrs] Finished assembling frontend distribution
#21 169.5 npm notice
#21 169.5 npm notice New major version of npm available! 10.9.3 -> 11.6.2
#21 169.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
#21 169.5 npm notice To update run: npm install -g npm@11.6.2
#21 169.5 npm notice
#21 DONE 170.1s

#30 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#30 6.631 [openmrs] Running build process ...
#30 66.99 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve './IcuTransUtils' in '/root/.npm/_npx/9145365975c7e340/node_modules/react-i18next/dist/es'
#30 66.99 Did you mean 'index.js'?
#30 66.99 BREAKING CHANGE: The request './IcuTransUtils' failed to resolve only because it was resolved as fully specified
#30 66.99 (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
#30 66.99 The extension in the request is mandatory for it to be fully specified.
#30 66.99 Add the extension to the request.
#30 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:
6.631 [openmrs] Running build process ...
66.99 [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve './IcuTransUtils' in '/root/.npm/_npx/9145365975c7e340/node_modules/react-i18next/dist/es'
66.99 Did you mean 'index.js'?
66.99 BREAKING CHANGE: The request './IcuTransUtils' failed to resolve only because it was resolved as fully specified
66.99 (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
66.99 The extension in the request is mandatory for it to be fully specified.
66.99 Add the extension to the request.
------
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