chore: angular 19 #13373
Annotations
10 errors and 1 warning
Test:
packages/@o3r/extractors/schematics/index.it.spec.ts#L43
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/extractors/schematics/index.it.spec.ts:43:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/extractors/schematics/index.it.spec.ts:43:111)
at Object.<anonymous> (schematics/index.it.spec.ts:43:111)
|
Test:
packages/@o3r/extractors/schematics/index.it.spec.ts#L71
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/extractors/schematics/index.it.spec.ts:71:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/extractors/schematics/index.it.spec.ts:71:111)
at Object.<anonymous> (schematics/index.it.spec.ts:71:111)
|
Test:
packages/@o3r/eslint-config/schematics/index.it.spec.ts#L24
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/eslint-config/schematics/index.it.spec.ts:24:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/eslint-config/schematics/index.it.spec.ts:24:111)
at Object.<anonymous> (schematics/index.it.spec.ts:24:111)
|
Test:
packages/@o3r/eslint-config/schematics/index.it.spec.ts#L50
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/eslint-config/schematics/index.it.spec.ts:50:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/eslint-config/schematics/index.it.spec.ts:50:111)
at Object.<anonymous> (schematics/index.it.spec.ts:50:111)
|
Test:
packages/@o3r/core/schematics/index.it.spec.ts#L126
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk /home/runner/work/otter/it-tests/test-app-core/apps/test-app/apps/test-app/apps/test-app/dist/localizations/en-GB.json
,The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/core/schematics/index.it.spec.ts:126:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:126:111)
at Object.<anonymous> (schematics/index.it.spec.ts:126:111)
|
Test:
packages/@o3r/testing/schematics/index.it.spec.ts#L34
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/testing/schematics/index.it.spec.ts:34:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/testing/schematics/index.it.spec.ts:34:111)
at Object.<anonymous> (schematics/index.it.spec.ts:34:111)
|
Test:
packages/@o3r/testing/schematics/index.it.spec.ts#L58
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/testing/schematics/index.it.spec.ts:58:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/testing/schematics/index.it.spec.ts:58:111)
at Object.<anonymous> (schematics/index.it.spec.ts:58:111)
|
Test:
packages/@o3r/rules-engine/schematics/index.it.spec.ts#L50
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:111)
at Object.<anonymous> (schematics/index.it.spec.ts:50:111)
|
Test:
packages/@o3r/rules-engine/schematics/index.it.spec.ts#L78
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:111)
at Object.<anonymous> (schematics/index.it.spec.ts:78:111)
|
Test:
packages/@o3r/configuration/schematics/index.it.spec.ts#L49
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/configuration/schematics/index.it.spec.ts:49:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/configuration/schematics/index.it.spec.ts:49:111)
at Object.<anonymous> (schematics/index.it.spec.ts:49:111)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading