Builds and publishes the O3 Frontend

Build: #2413 failed Manual run by Github Actions

Stages & jobs

  1. Default Stage

Build result summary

Details

Completed
Queue duration
1 second
Duration
3 minutes
Labels
None
Agent
xindi.openmrs.org
Revision
aa5c3a6cffee7a4a186b1e205427d20df019983d
Fixed in
#2421 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

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.


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

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

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

#13 [linux/amd64 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 0.2s done
#13 DONE 0.2s

#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.004 npm warn exec The following package was not found and will be installed: openmrs@6.3.1-pre.3055
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'rimraf@6.0.1',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'glob@11.0.2',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'jackspeak@4.1.1',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'minimatch@10.0.2',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'path-scurry@2.0.0',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 156.2 npm warn EBADENGINE Unsupported engine {
#19 156.2 npm warn EBADENGINE   package: 'lru-cache@11.1.0',
#19 156.2 npm warn EBADENGINE   required: { node: '20 || >=22' },
#19 156.2 npm warn EBADENGINE   current: { node: 'v18.20.8', npm: '10.8.2' }
#19 156.2 npm warn EBADENGINE }
#19 160.8 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#19 162.1 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#19 162.9 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 163.6 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#19 164.0 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#19 164.6 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 165.7 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 167.6 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
#19 167.6 npm warn deprecated npmlog@6.0.2: This package is no longer supported.
#19 167.7 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
#19 168.2 npm warn deprecated gauge@4.0.4: This package is no longer supported.
#19 168.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.
#19 173.2 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
#19 173.5 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#19 174.6 npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
#19 174.6 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#19 175.1 npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
#19 201.4 /root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js:7
#19 201.4 const brace_expansion_1 = __importDefault(require("brace-expansion"));
#19 201.4                                           ^
#19 201.4
#19 201.4 Error [ERR_REQUIRE_ESM]: require() of ES Module /root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/brace-expansion/index.js from /root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js not supported.
#19 201.4 Instead change the require of /root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/brace-expansion/index.js in /root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js to a dynamic import() which is available in all CommonJS modules.
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js:7:43)
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js:9:21)
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/rimraf/dist/commonjs/index.js:7:16)
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/assemble.js:12:18)
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/commands/index.js:17:14)
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/runner.js:26:31) {
#19 201.4   code: 'ERR_REQUIRE_ESM'
#19 201.4 }
#19 201.4
#19 201.4 Node.js v18.20.8
#19 201.5 npm notice
#19 201.5 npm notice New major version of npm available! 10.8.2 -> 11.4.1
#19 201.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
#19 201.5 npm notice To update run: npm install -g npm@11.4.1
#19 201.5 npm notice
#19 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:
#19 201.4     at Object.<anonymous> (/root/.npm/_npx/9145365975c7e340/node_modules/openmrs/dist/runner.js:26:31) {
#19 201.4   code: 'ERR_REQUIRE_ESM'
#19 201.4 }
#19 201.4
#19 201.4 Node.js v18.20.8
#19 201.5 npm notice
#19 201.5 npm notice New major version of npm available! 10.8.2 -> 11.4.1
#19 201.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
#19 201.5 npm notice To update run: npm install -g npm@11.4.1
#19 201.5 npm notice
------
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