Plan responsible for building Docker images for the 3.x demo and development sites
Build: #571 failed
Job: Build Frontend failed
Job result summary
- Completed
- Duration
- 1 minute
- Revision
-
6d6262b60bb90a3a752d847c2564a47d868bec65
6d6262b60bb90a3a752d847c2564a47d868bec65 - Fixed in
- #572 (Manual run by Github Actions)
Error summary
The build generated some errors. See the full build log for more details.
#14 extracting sha256:092122bdc81dfcba73d372e7bee1790d1b350c13ecbeef6f80d16f3351d12cc8 0.1s done
#14 extracting sha256:bb654436a2bdf119a00dccfd2b2c4c8f6dd0a6fffb1139aea778bd98ebd86b95 0.0s done
#14 DONE 2.5s
#15 [linux/amd64 dev 2/6] RUN mkdir -p /app
#15 DONE 0.4s
#16 [linux/amd64 dev 3/6] WORKDIR /app
#16 DONE 0.1s
#17 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#17 DONE 0.1s
#18 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#18 1.198 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.464
#18 23.59 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#18 24.21 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 24.45 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#18 25.98 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 27.99 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 47.35 [openmrs] Running build process ...
#18 82.67 (node:87) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#18 82.67 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#18 82.67 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#18 82.67 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#18 82.67 (Use `node --trace-deprecation ...` to show where the warning was created)
#18 82.99 assets by info 2.4 MiB [1m[32m[immutable][39m[22m
#18 82.99 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#18 82.99 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#18 82.99 + 1 asset
#18 82.99 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#18 82.99 asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [1m[32m[copied][39m[22m
#18 82.99 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#18 82.99 + 6 assets
#18 82.99 assets by status [1m[33m1.82 MiB[39m[22m [1m[33m[big][39m[22m
#18 82.99 asset [1m[33mopenmrs.js[39m[22m [1m[33m1.18 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#18 82.99 asset [1m[33mopenmrs.css[39m[22m [1m[33m659 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[33m[big][39m[22m (name: main)
#18 82.99 + 5 assets
#18 82.99 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.82 MiB = [1m[32mopenmrs.css[39m[22m 659 KiB [1m[32mopenmrs.js[39m[22m 1.18 MiB
#18 82.99 orphan modules 4.8 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [1m[33m[orphan][39m[22m 1248 modules
#18 82.99 runtime modules 19.2 KiB 15 modules
#18 82.99 built modules 3.9 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [1m[33m[built][39m[22m
#18 82.99 javascript modules 3.9 MiB 259 modules
#18 82.99 provide-module modules 420 bytes
#18 82.99 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#18 82.99 + 8 modules
#18 82.99 consume-shared-module modules 420 bytes
#18 82.99 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#18 82.99 + 8 modules
#18 82.99 css modules 665 KiB
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/dist/openmrs-esm-styleguide.css[39m[22m 663 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss[39m[22m 930 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/src/error-state/error-state.module.scss[39m[22m 1.5 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99
#18 82.99 [1mLOG from InjectManifest[39m[22m
#18 82.99 <i> [1m[32mThe service worker at service-worker.js will precache[39m[22m
#18 82.99 <i> [1m[32m 189 URLs, totaling 4.44 MB.[39m[22m
#18 82.99
#18 82.99 [1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#18 82.99 This can impact web performance.
#18 82.99 Assets:
#18 82.99 openmrs.css (659 KiB)
#18 82.99 openmrs.js (1.18 MiB)[39m[22m
#18 82.99
#18 82.99 [1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#18 82.99 Entrypoints:
#18 82.99 main (1.82 MiB)
#18 82.99 openmrs.css
#18 82.99 openmrs.js
#18 82.99 [39m[22m
#18 82.99
#18 82.99 webpack 5.75.0 compiled with [1m[33m2 warnings[39m[22m in 34879 ms
#18 82.99 [openmrs] Build finished.
#18 83.06 npm notice
#18 83.06 npm notice New major version of npm available! 8.19.3 -> 9.2.0
#18 83.06 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
#18 83.06 npm notice Run `npm install -g npm@9.2.0` to update!
#18 83.06 npm notice
#18 DONE 83.3s
#19 [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
#19 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
------
Dockerfile:13
--------------------
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 --manifest --mode config --config spa-build-config.json --target ./spa
14 |
15 | FROM nginx:1.23-alpine
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
#14 extracting sha256:bb654436a2bdf119a00dccfd2b2c4c8f6dd0a6fffb1139aea778bd98ebd86b95 0.0s done
#14 DONE 2.5s
#15 [linux/amd64 dev 2/6] RUN mkdir -p /app
#15 DONE 0.4s
#16 [linux/amd64 dev 3/6] WORKDIR /app
#16 DONE 0.1s
#17 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#17 DONE 0.1s
#18 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#18 1.198 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.464
#18 23.59 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#18 24.21 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 24.45 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#18 25.98 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 27.99 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 47.35 [openmrs] Running build process ...
#18 82.67 (node:87) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#18 82.67 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#18 82.67 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#18 82.67 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#18 82.67 (Use `node --trace-deprecation ...` to show where the warning was created)
#18 82.99 assets by info 2.4 MiB [1m[32m[immutable][39m[22m
#18 82.99 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#18 82.99 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#18 82.99 + 1 asset
#18 82.99 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#18 82.99 asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [1m[32m[copied][39m[22m
#18 82.99 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#18 82.99 + 6 assets
#18 82.99 assets by status [1m[33m1.82 MiB[39m[22m [1m[33m[big][39m[22m
#18 82.99 asset [1m[33mopenmrs.js[39m[22m [1m[33m1.18 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#18 82.99 asset [1m[33mopenmrs.css[39m[22m [1m[33m659 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[33m[big][39m[22m (name: main)
#18 82.99 + 5 assets
#18 82.99 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 1.82 MiB = [1m[32mopenmrs.css[39m[22m 659 KiB [1m[32mopenmrs.js[39m[22m 1.18 MiB
#18 82.99 orphan modules 4.8 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [1m[33m[orphan][39m[22m 1248 modules
#18 82.99 runtime modules 19.2 KiB 15 modules
#18 82.99 built modules 3.9 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [1m[33m[built][39m[22m
#18 82.99 javascript modules 3.9 MiB 259 modules
#18 82.99 provide-module modules 420 bytes
#18 82.99 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#18 82.99 + 8 modules
#18 82.99 consume-shared-module modules 420 bytes
#18 82.99 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#18 82.99 + 8 modules
#18 82.99 css modules 665 KiB
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/dist/openmrs-esm-styleguide.css[39m[22m 663 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss[39m[22m 930 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99 css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]![1m../@openmrs/esm-styleguide/src/error-state/error-state.module.scss[39m[22m 1.5 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
#18 82.99
#18 82.99 [1mLOG from InjectManifest[39m[22m
#18 82.99 <i> [1m[32mThe service worker at service-worker.js will precache[39m[22m
#18 82.99 <i> [1m[32m 189 URLs, totaling 4.44 MB.[39m[22m
#18 82.99
#18 82.99 [1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#18 82.99 This can impact web performance.
#18 82.99 Assets:
#18 82.99 openmrs.css (659 KiB)
#18 82.99 openmrs.js (1.18 MiB)[39m[22m
#18 82.99
#18 82.99 [1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#18 82.99 Entrypoints:
#18 82.99 main (1.82 MiB)
#18 82.99 openmrs.css
#18 82.99 openmrs.js
#18 82.99 [39m[22m
#18 82.99
#18 82.99 webpack 5.75.0 compiled with [1m[33m2 warnings[39m[22m in 34879 ms
#18 82.99 [openmrs] Build finished.
#18 83.06 npm notice
#18 83.06 npm notice New major version of npm available! 8.19.3 -> 9.2.0
#18 83.06 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
#18 83.06 npm notice Run `npm install -g npm@9.2.0` to update!
#18 83.06 npm notice
#18 DONE 83.3s
#19 [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
#19 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
------
Dockerfile:13
--------------------
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 --manifest --mode config --config spa-build-config.json --target ./spa
14 |
15 | FROM nginx:1.23-alpine
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1