Skip to content

Feature/otter theme entrypoint #4470

Feature/otter theme entrypoint

Feature/otter theme entrypoint #4470

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / IT Tests report-windows-latest-yarn failed Oct 12, 2023 in 1s

IT Tests report-windows-latest-yarn ❌

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 2✅ 212s
@ama-sdk/generator-sdk/dist-test/it-report.xml 1✅ 234s
@ama-sdk/schematics/dist-test/it-report.xml 2ms
@o3r/analytics/dist-test/it-report.xml 2✅ 320s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 103s
@o3r/components/dist-test/it-report.xml 1✅ 85s
@o3r/configuration/dist-test/it-report.xml 1✅ 111s
@o3r/core/dist-test/it-report.xml 2❌ 775s
@o3r/extractors/dist-test/it-report.xml 1✅ 306s
@o3r/localization/dist-test/it-report.xml 1✅ 135s
@o3r/rules-engine/dist-test/it-report.xml 1✅ 133s
@o3r/styling/dist-test/it-report.xml 1❌ 362s
@o3r/testing/dist-test/it-report.xml 1✅ 99s

✅ @ama-sdk/create/dist-test/it-report.xml

2 tests were completed in 212s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 2✅ 212s

✅ Create new sdk command

Create new sdk command should generate a full SDK when the specification is provided
  ✅ Create new sdk command should generate a full SDK when the specification is provided
Create new sdk command should generate an empty SDK ready to be used
  ✅ Create new sdk command should generate an empty SDK ready to be used

✅ @ama-sdk/generator-sdk/dist-test/it-report.xml

1 tests were completed in 234s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
@ama-sdk/sdk:create 1✅ 233s

✅ @ama-sdk/sdk:create

@ama-sdk/sdk:create should generate a working SDK
  ✅ @ama-sdk/sdk:create should generate a working SDK

✅ @ama-sdk/schematics/dist-test/it-report.xml

No tests found

✅ @o3r/analytics/dist-test/it-report.xml

2 tests were completed in 320s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with analytics 2✅ 320s

✅ new otter application with analytics

new otter application with analytics standalone should add analytics to existing application
  ✅ new otter application with analytics standalone should add analytics to existing application
new otter application with analytics monorepo should add analytics to existing application
  ✅ new otter application with analytics monorepo should add analytics to existing application

✅ @o3r/apis-manager/dist-test/it-report.xml

1 tests were completed in 103s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with apis-manager 1✅ 103s

✅ new otter application with apis-manager

new otter application with apis-manager should add apis-manager to existing application
  ✅ new otter application with apis-manager should add apis-manager to existing application

✅ @o3r/components/dist-test/it-report.xml

1 tests were completed in 85s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with components 1✅ 85s

✅ new otter application with components

new otter application with components should add components to existing application
  ✅ new otter application with components should add components to existing application

✅ @o3r/configuration/dist-test/it-report.xml

1 tests were completed in 111s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with configuration 1✅ 111s

✅ new otter application with configuration

new otter application with configuration should add configuration to existing application
  ✅ new otter application with configuration should add configuration to existing application

❌ @o3r/core/dist-test/it-report.xml

2 tests were completed in 775s with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application 2❌ 775s

❌ new otter application

new otter application standalone should build empty app
  ❌ new otter application standalone should build empty app
	Error: expect(received).not.toThrow()
new otter application monorepo should build empty app
  ❌ new otter application monorepo should build empty app
	Error: expect(received).not.toThrow()

✅ @o3r/extractors/dist-test/it-report.xml

1 tests were completed in 306s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with extractors 1✅ 306s

✅ new otter application with extractors

new otter application with extractors should add extractors to existing application
  ✅ new otter application with extractors should add extractors to existing application

✅ @o3r/localization/dist-test/it-report.xml

1 tests were completed in 135s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with localization 1✅ 134s

✅ new otter application with localization

new otter application with localization should add localization to existing application
  ✅ new otter application with localization should add localization to existing application

✅ @o3r/rules-engine/dist-test/it-report.xml

1 tests were completed in 133s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with rules-engine 1✅ 133s

✅ new otter application with rules-engine

new otter application with rules-engine should add rules engine to existing application
  ✅ new otter application with rules-engine should add rules engine to existing application

❌ @o3r/styling/dist-test/it-report.xml

1 tests were completed in 362s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with styling 1❌ 362s

❌ new otter application with styling

new otter application with styling should add styling to existing application
  ❌ new otter application with styling should add styling to existing application
	Error: expect(received).not.toThrow()

✅ @o3r/testing/dist-test/it-report.xml

1 tests were completed in 99s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with testing 1✅ 99s

✅ new otter application with testing

new otter application with testing should add testing to existing application
  ✅ new otter application with testing should add testing to existing application

Annotations

Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-latest-yarn

new otter application ► new otter application standalone should build empty app ► new otter application standalone should build empty app

Failed test found in:
  @o3r/core/dist-test/it-report.xml
Error:
  Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()

Error name:    "Error"
Error message: "Command failed: yarn run build
STDERR:
The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.

Warning: D:\\a\\otter\\it-tests\\test-app-core\\.yarn\\__virtual__\\@o3r-application-virtual-c89f0d5cf4\\3\\otter\\.cache\\test-app\\cache\\@o3r-application-npm-999.0.0-49c2f07057-8.zip\\node_modules\\@o3r\\application\\fesm2022\\o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: D:\\a\\otter\\it-tests\\test-app-core\\.yarn\\__virtual__\\ngrx-store-localstorage-virtual-6ca165c6b8\\3\\otter\\.cache\\test-app\\cache\\ngrx-store-localstorage-npm-16.0.0-85e6a80d9f-8.zip\\node_modules\\ngrx-store-localstorage\\fesm2022\\ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./src/styles.scss - Error: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./.yarn/__virtual__/mini-css-extract-plugin-virtual-9f4d9fbf1c/3/otter/.cache/test-app/cache/mini-css-extract-plugin-npm-2.7.6-0014d24fe7-8.zip/node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

·
OUTPUT:
,Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk D:\\a\\otter\\it-tests\\test-app-core\\dist\\localizations\\en-GB.json
,The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.

Warning: D:\\a\\otter\\it-tests\\test-app-core\\.yarn\\__virtual__\\@o3r-application-virtual-c89f0d5cf4\\3\\otter\\.cache\\test-app\\cache\\@o3r-application-npm-999.0.0-49c2f07057-8.zip\\node_modules\\@o3r\\application\\fesm2022\\o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: D:\\a\\otter\\it-tests\\test-app-core\\.yarn\\__virtual__\\ngrx-store-localstorage-virtual-6ca165c6b8\\3\\otter\\.cache\\test-app\\cache\\ngrx-store-localstorage-npm-16.0.0-85e6a80d9f-8.zip\\node_modules\\ngrx-store-localstorage\\fesm2022\\ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./src/styles.scss - Error: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./.yarn/__virtual__/mini-css-extract-plugin-virtual-9f4d9fbf1c/3/otter/.cache/test-app/cache/mini-css-extract-plugin-npm-2.7.6-0014d24fe7-8.zip/node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet


"

      66 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      67 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 68 |     throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      69 |   }
      70 | }
      71 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
      at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
      at packages/@o3r/core/schematics/index.it.spec.ts:84:37
      at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
      at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
      at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:84:68)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\core\schematics\index.it.spec.ts:84:68)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:121:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:444:34)

Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-latest-yarn

new otter application ► new otter application monorepo should build empty app ► new otter application monorepo should build empty app

Failed test found in:
  @o3r/core/dist-test/it-report.xml
Error:
  Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()

Error name:    "Error"
Error message: "Command failed: yarn run build
STDERR:·
OUTPUT:
,- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Copying assets...
✔ Copying assets complete.
- Generating index html...
✔ Index html generation complete.·
Initial Chunk Files           | Names         |  Raw Size | Estimated Transfer Size
main.d233a3a414c35100.js      | main          | 207.73 kB |                56.53 kB
polyfills.1a223e9055f4bfa0.js | polyfills     |  33.04 kB |                10.67 kB
runtime.19a1e7ee5b2d6610.js   | runtime       | 906 bytes |               522 bytes
styles.ef46db3751d8e999.css   | styles        |   0 bytes |                       -

                              | Initial Total | 241.65 kB |                67.71 kB

Build at: 2023-10-12T18:30:25.282Z - Hash: 5a77f2889285e04c - Time: 21212ms
The file D:\\a\\otter\\it-tests\\test-app-core-monorepo\\localisation.metadata.json does not exist, the extractor will be run
Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk D:\\a\\otter\\it-tests\\test-app-core-monorepo\\projects\\test-app\\projects\\test-app\\dist\\localizations\\en-GB.json
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.

Warning: D:\\a\\otter\\it-tests\\test-app-core-monorepo\\.yarn\\__virtual__\\@o3r-application-virtual-2503980a57\\3\\otter\\.cache\\test-app\\cache\\@o3r-application-npm-999.0.0-49c2f07057-8.zip\\node_modules\\@o3r\\application\\fesm2022\\o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: D:\\a\\otter\\it-tests\\test-app-core-monorepo\\.yarn\\__virtual__\\ngrx-store-localstorage-virtual-6ca165c6b8\\3\\otter\\.cache\\test-app\\cache\\ngrx-store-localstorage-npm-16.0.0-85e6a80d9f-8.zip\\node_modules\\ngrx-store-localstorage\\fesm2022\\ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./projects/test-app/src/styles.scss - Error: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

./projects/test-app/src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./.yarn/__virtual__/mini-css-extract-plugin-virtual-9f4d9fbf1c/3/otter/.cache/test-app/cache/mini-css-extract-plugin-npm-2.7.6-0014d24fe7-8.zip/node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet


Done in 1m 18s
,"

      66 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      67 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 68 |     throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      69 |   }
      70 | }
      71 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
      at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
      at packages/@o3r/core/schematics/index.it.spec.ts:213:37
      at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
      at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
      at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:213:68)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\core\schematics\index.it.spec.ts:213:68)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:121:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:444:34)

Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-latest-yarn

new otter application with styling ► new otter application with styling should add styling to existing application ► new otter application with styling should add styling to existing application

Failed test found in:
  @o3r/styling/dist-test/it-report.xml
Error:
  Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()

Error name:    "Error"
Error message: "Command failed: yarn run build
STDERR:
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.

Warning: D:\\a\\otter\\it-tests\\test-app-styling\\.yarn\\__virtual__\\@o3r-application-virtual-c89f0d5cf4\\3\\otter\\.cache\\test-app\\cache\\@o3r-application-npm-999.0.0-49c2f07057-8.zip\\node_modules\\@o3r\\application\\fesm2022\\o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: D:\\a\\otter\\it-tests\\test-app-styling\\.yarn\\__virtual__\\ngrx-store-localstorage-virtual-6ca165c6b8\\3\\otter\\.cache\\test-app\\cache\\ngrx-store-localstorage-npm-16.0.0-85e6a80d9f-8.zip\\node_modules\\ngrx-store-localstorage\\fesm2022\\ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./src/styles.scss - Error: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./.yarn/__virtual__/mini-css-extract-plugin-virtual-9f4d9fbf1c/3/otter/.cache/test-app/cache/mini-css-extract-plugin-npm-2.7.6-0014d24fe7-8.zip/node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

·
OUTPUT:
,,- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.

Warning: D:\\a\\otter\\it-tests\\test-app-styling\\.yarn\\__virtual__\\@o3r-application-virtual-c89f0d5cf4\\3\\otter\\.cache\\test-app\\cache\\@o3r-application-npm-999.0.0-49c2f07057-8.zip\\node_modules\\@o3r\\application\\fesm2022\\o3r-application.mjs depends on '@o3r/testing/visual-test/utils'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Warning: D:\\a\\otter\\it-tests\\test-app-styling\\.yarn\\__virtual__\\ngrx-store-localstorage-virtual-6ca165c6b8\\3\\otter\\.cache\\test-app\\cache\\ngrx-store-localstorage-npm-16.0.0-85e6a80d9f-8.zip\\node_modules\\ngrx-store-localstorage\\fesm2022\\ngrx-store-localstorage.mjs depends on 'deepmerge'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies



./src/styles.scss - Error: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet

./src/styles.scss?ngGlobalStyle - Error: Module build failed (from ./.yarn/__virtual__/mini-css-extract-plugin-virtual-9f4d9fbf1c/3/otter/.cache/test-app/cache/mini-css-extract-plugin-npm-2.7.6-0014d24fe7-8.zip/node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./.yarn/__virtual__/sass-loader-virtual-f94c7a4302/3/otter/.cache/test-app/cache/sass-loader-npm-13.3.2-82bfeae746-8.zip/node_modules/sass-loader/dist/cjs.js):
There is no module with the namespace \"otter-theme\".
  ╷
6 │ @include o3r.apply-theme(otter-theme.$default-theme);
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\\styling\\global-styles.scss 6:26  @import
  src\\styles.scss 6:9                  root stylesheet


"

      66 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      67 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 68 |     throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      69 |   }
      70 | }
      71 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
      at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
      at packages/@o3r/styling/schematics/index.it.spec.ts:30:35
      at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
      at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
      at Object.<anonymous> (packages/@o3r/styling/schematics/index.it.spec.ts:30:66)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\styling\schematics\index.it.spec.ts:30:66)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-3494371489.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip\node_modules\jest-runner\build\runTest.js:444:34)