Skip to content

chore: angular 19 #13376

chore: angular 19

chore: angular 19 #13376

Triggered via pull request December 26, 2024 16:30
Status Failure
Total duration 46m 28s
Artifacts 12

main.yml

on: pull_request
Matrix: checks / test
it-tests  /  prepare-verdaccio
3m 13s
it-tests / prepare-verdaccio
documentation-pr  /  build
documentation-pr / build
Matrix: it-tests / it-tests
documentation-pr  /  deploy-on-azure-static-webapp
documentation-pr / deploy-on-azure-static-webapp
documentation-main  /  deploy-on-azure-static-webapp
documentation-main / deploy-on-azure-static-webapp
publish-packages  /  publish-extensions
publish-packages / publish-extensions
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 11 warnings
Component container › should generate a container component in the default component folder: packages/@o3r/core/schematics/component/container/index.spec.ts#L63
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/component/container/index.spec.ts:63:77)
Component container › should generate a container component as part of a full component structure: packages/@o3r/core/schematics/component/container/index.spec.ts#L78
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/component/container/index.spec.ts:78:77)
Page › Default parameters › should generate files: packages/@o3r/core/schematics/page/index.spec.ts#L48
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:48:74)
Page › Default parameters › should insert page route in App Routing Module: packages/@o3r/core/schematics/page/index.spec.ts#L54
expect(received).toContain(expected) // indexOf Expected substring: "{path: 'test-page', loadChildren: () => import('./test-page/index').then((m) => m.TestPageModule)}" Received string: "import { NgModule, } from '@angular/core'; import { RouterModule, Routes, } from '@angular/router';· const appRoutes: Routes = [ { path: '', children: [ { path: '', redirectTo: '/home', pathMatch: 'full' }, {path: 'test-page', loadComponent: () => import('./test-page/index').then((m) => m.TestPageComponent)} ] } ];· @NgModule({ imports: [RouterModule.forRoot(appRoutes)], exports: [RouterModule] }) export class AppRoutingModule {} " at Object.<anonymous> (schematics/page/index.spec.ts:54:58)
Page › Custom parameters › should generate files with default parameters: packages/@o3r/core/schematics/page/index.spec.ts#L102
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:102:74)
Page › Custom parameters › should insert page route in App Routing Module: packages/@o3r/core/schematics/page/index.spec.ts#L108
expect(received).toContain(expected) // indexOf Expected substring: "{path: 'test-page', loadChildren: () => import('./test-scope/test-page/index').then((m) => m.TestPageModule)}" Received string: "import { NgModule, } from '@angular/core'; import { RouterModule, Routes, } from '@angular/router';· const appRoutes: Routes = [ { path: '', children: [ { path: '', redirectTo: '/home', pathMatch: 'full' }, {path: 'test-page', loadComponent: () => import('./test-scope/test-page/index').then((m) => m.TestPageComponent)} ] } ];· @NgModule({ imports: [RouterModule.forRoot(appRoutes)], exports: [RouterModule] }) export class AppRoutingModule {} " at Object.<anonymous> (schematics/page/index.spec.ts:108:58)
Page › Wrong App Routing Module path › should still generate files: packages/@o3r/core/schematics/page/index.spec.ts#L131
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:131:74)
Component presenter › should generate a presenter component in the default component folder: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L62
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:62:77)
Component presenter › should generate a presenter component as part of a full component structure: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L78
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:78:77)
Component presenter › should generate a presenter component without otter theme: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L140
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:140:77)
Component presenter › should generate a presenter component in the default component folder: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L62
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:62:77)
Component presenter › should generate a presenter component as part of a full component structure: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L78
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:78:77)
Component presenter › should generate a presenter component without otter theme: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L140
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:140:77)
Component presenter › should generate a presenter component without context: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L181
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:181:77)
Component presenter › should generate a presenter component without localization: packages/@o3r/core/schematics/component/presenter/index.spec.ts#L202
expect(received).toEqual(expected) // deep equality Expected: 8 Received: 7 at Object.<anonymous> (schematics/component/presenter/index.spec.ts:202:77)
Page › Default parameters › should generate files: packages/@o3r/core/schematics/page/index.spec.ts#L48
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:48:74)
Page › Default parameters › should insert page route in App Routing Module: packages/@o3r/core/schematics/page/index.spec.ts#L54
expect(received).toContain(expected) // indexOf Expected substring: "{path: 'test-page', loadChildren: () => import('./test-page/index').then((m) => m.TestPageModule)}" Received string: "import { NgModule, } from '@angular/core'; import { RouterModule, Routes, } from '@angular/router';· const appRoutes: Routes = [ { path: '', children: [ { path: '', redirectTo: '/home', pathMatch: 'full' }, {path: 'test-page', loadComponent: () => import('./test-page/index').then((m) => m.TestPageComponent)} ] } ];· @NgModule({ imports: [RouterModule.forRoot(appRoutes)], exports: [RouterModule] }) export class AppRoutingModule {} " at Object.<anonymous> (schematics/page/index.spec.ts:54:58)
Page › Custom parameters › should generate files with default parameters: packages/@o3r/core/schematics/page/index.spec.ts#L102
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:102:74)
Page › Custom parameters › should insert page route in App Routing Module: packages/@o3r/core/schematics/page/index.spec.ts#L108
expect(received).toContain(expected) // indexOf Expected substring: "{path: 'test-page', loadChildren: () => import('./test-scope/test-page/index').then((m) => m.TestPageModule)}" Received string: "import { NgModule, } from '@angular/core'; import { RouterModule, Routes, } from '@angular/router';· const appRoutes: Routes = [ { path: '', children: [ { path: '', redirectTo: '/home', pathMatch: 'full' }, {path: 'test-page', loadComponent: () => import('./test-scope/test-page/index').then((m) => m.TestPageComponent)} ] } ];· @NgModule({ imports: [RouterModule.forRoot(appRoutes)], exports: [RouterModule] }) export class AppRoutingModule {} " at Object.<anonymous> (schematics/page/index.spec.ts:108:58)
Page › Wrong App Routing Module path › should still generate files: packages/@o3r/core/schematics/page/index.spec.ts#L131
expect(received).toEqual(expected) // deep equality Expected: 7 Received: 6 at Object.<anonymous> (schematics/page/index.spec.ts:131:74)
Create new otter project command › should generate a project with an application: packages/@o3r/create/src/index.it.spec.ts#L39
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3 STDERR: - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: @angular-devkit/[email protected] npm error node_modules/@angular-devkit/schematics npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project npm error npm error Could not resolve dependency: npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/schematics npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_45_50_927Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_45_50_927Z-debug-0.log npm error code 6 npm error path /home/runner/work/otter/it-tests/test-create-app npm error command failed npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3 npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_45_36_372Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y B!!!!!!!!!!P#Y7!!!!!!!!!!!!7JY5P5YJ????JJY5PP5J?!!!!!!!!!!!!!JBG7!!!!!!!!!J B!!!!!!!!!!!?PG5J?7777?JY5PPYJ7!!!!!!!!!!!!!7J5PPPYJ?77!77?5GBY!!!!!!!!!!!5 J!!!!!!!!!!!!7JY555555YJ?7!!!!!!!!!!!!!!!!!!!!!7?JY5555555Y?!!!!!!!!!!!!!# #?!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JYJJJ?JJJYY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!P &J!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JYYYYJ??7!!!!!!!!!!!!!!!!!!!!!!!!!!!!7G G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& BY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JG& #PYJ?7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!77?YPB& &BPPB &Y7JYYYJ7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?YYYJ??B #?!!!!?P B7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5 Y!!!!!!!?B P!!!!!!!!7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Create new otter project command › should generate a project with a library: packages/@o3r/create/src/index.it.spec.ts#L63
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3 STDERR: - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: @angular-devkit/[email protected] npm error node_modules/@angular-devkit/schematics npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project npm error npm error Could not resolve dependency: npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/schematics npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_07_043Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_07_043Z-debug-0.log npm error code 6 npm error path /home/runner/work/otter/it-tests/test-create-app1 npm error command failed npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3 npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_45_54_545Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y B!!!!!!!!!!P#Y7!!!!!!!!!!!!7JY5P5YJ????JJY5PP5J?!!!!!!!!!!!!!JBG7!!!!!!!!!J B!!!!!!!!!!!?PG5J?7777?JY5PPYJ7!!!!!!!!!!!!!7J5PPPYJ?77!77?5GBY!!!!!!!!!!!5 J!!!!!!!!!!!!7JY555555YJ?7!!!!!!!!!!!!!!!!!!!!!7?JY5555555Y?!!!!!!!!!!!!!# #?!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JYJJJ?JJJYY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!P &J!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JYYYYJ??7!!!!!!!!!!!!!!!!!!!!!!!!!!!!7G G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& BY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JG& #PYJ?7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!77?YPB& &BPPB &Y7JYYYJ7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?YYYJ??B #?!!!!?P B7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5 Y!!!!!!!?B P!!!!!!!!7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Create new otter project command › should generate a project with an application with --exact-o3r-version: packages/@o3r/create/src/index.it.spec.ts#L87
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@999.0.1735231123807 my-project -- --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3 STDERR: npm warn exec The following package was not found and will be installed: @o3r/[email protected] - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error peer @angular-devkit/core@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error 5 more (@angular-devkit/architect, ...) npm error chokidar@\"^4.0.0\" from @angular/[email protected] npm error node_modules/@angular/compiler-cli npm error dev @angular/compiler-cli@\"~19.0.0\" from the root project npm error peer @angular/compiler-cli@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^3.5.2\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_32_235Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_32_235Z-debug-0.log ✖ Installing package [FAILED: Unable to install package] npm error code 3 npm error path /home/runner/work/otter/it-tests/test-create-app2 npm error command failed npm error command sh -c create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3 npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_10_184Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y
Create new sdk command › should generate a light SDK when the specification is provided: packages/@ama-sdk/create/src/index.it.spec.ts#L68
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml STDERR: npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected] \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_05_896Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_05_896Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_18_295Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk npm error command failed npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_45_52_540Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml· CREATE my-test/sdk/.commitlintrc.json (810 bytes) CREATE my-test/sdk/.editorconfig (208 bytes) CREATE my-test/sdk/.openapi-generator-ignore (90 bytes) CREATE my-test/sdk/.swcrc (329 bytes) CREATE my-test/sdk/.versionrc.json (110 bytes) CREATE my-test/sdk/CONTRIBUTING.md (122 bytes) CREATE my-test/sdk/jest.config.js
Create new sdk command › should generate a full SDK when the specification is provided: packages/@ama-sdk/create/src/index.it.spec.ts#L83
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_22_178Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_22_178Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_29_766Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk1 npm error command failed npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_20_186Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml· CREATE my-test/sdk/.commitlintrc.json (810 bytes) CREATE my-test/sdk/.editorconfig (208 bytes) CREATE my-test/sdk/.openapi-generator-ignore (90 bytes) CREATE my-test/sdk/.swcrc (329 bytes) CREATE my-test/sdk/.versionrc.json (110 bytes) CREATE my-test/sdk/CONTRIBUTING.md (122 bytes) CREATE my-test/sdk/jest.config.js (737 bytes) CREATE my-test/sdk/readme.md (7214 bytes) CREATE my-test/sdk/t
Create new sdk command › should generate a full SDK when the specification is provided as npm dependency: packages/@ama-sdk/create/src/index.it.spec.ts#L103
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873 STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_32_726Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_32_726Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/amasdk-update-spec-from-npm - Not found npm error 404 npm error 404 'amasdk-update-spec-from-npm@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_38_680Z-debug-0.log Error: ENOENT: no such file or directory, open './open-api.yaml' npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk2 npm error command failed npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version '~999' --spec-package-registry http://127.0.0.1:4873 npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_30_898Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873· CREATE my-test/sdk/.commitlintrc.json (810 bytes) CREATE my-test/sdk/.editorconfig (208 bytes) CREATE my-test/sdk/.openapi-generator-ignore (90 bytes) CREATE my-test/sdk/.swcrc (329 bytes)
Create new sdk command › should generate an SDK with no package scope: packages/@ama-sdk/create/src/index.it.spec.ts#L119
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_44_575Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_44_575Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_52_273Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk3 npm error command failed npm error command sh -c create typescript sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_42_176Z-debug-0.log· OUTPUT: , > npx > create typescript sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml· CREATE sdk/.commitlintrc.json (810 bytes) CREATE sdk/.editorconfig (208 bytes) CREATE sdk/.openapi-generator-ignore (90 bytes) CREATE sdk/.swcrc (329 bytes) CREATE sdk/.versionrc.json (110 bytes) CREATE sdk/CONTRIBUTING.md (115 bytes) CREATE sdk/jest.config.js (710 bytes) CREATE sdk/readme.md (7214 bytes) CREATE sdk/tsconfig.build.json (542 bytes) CREATE sdk/tsconfig.doc.json (354 bytes) CREATE sdk/tsconfig.json (226 bytes) CREATE sdk/typedoc.j
Create new sdk command › should generate an empty SDK ready to be used: packages/@ama-sdk/create/src/index.it.spec.ts#L124
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_55_643Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_55_643Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk4 npm error command failed npm error command sh -c create typescript @my-test/sdk npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_46_53_485Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk· CREATE my-test/sdk/.commitlintrc.json (810 bytes) CREATE my-test/sdk/.editorconfig (208 bytes) CREATE my-test/sdk/.openapi-generator-ignore (90 bytes) CREATE my-test/sdk/.swcrc (329 bytes) CREATE my-test/sdk/.versionrc.json (110 bytes) CREATE my-test/sdk/CONTRIBUTING.md (122 bytes) CREATE my-test/sdk/jest.config.js (737 bytes) CREATE my-test/sdk/readme.md (7214 bytes) CREATE my-test/sdk/tsconfig.build.json (542 bytes) CREATE my-test/sdk/tsconfig.doc.json (354 bytes) CREATE my-test/sdk/tsconfig.json (226 bytes) CREATE my-test/sdk/typedoc.json (289 bytes) CREATE my-test/sdk/.vscode/settings.json (613 bytes) CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes) CREATE my-test/sdk/src/index.ts (77 bytes) CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes) CREATE my-test/sdk/src/api/index.ts (17 bytes) CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes) CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes) CREATE my-test/sdk/src/helpers/index.ts (17 bytes) CREATE my-test/sdk/src/helpers/package.json (314 bytes) CREATE my-test/sdk/src/models/enums.ts (93 bytes) CREATE my-test/sdk/src/models/index.ts (128 bytes) CREATE my-test/sdk/src/models/patterns.ts (102 bytes) CREATE my-test/sdk/src/models/base/enums.ts (97 bytes) CREATE
Create new sdk command › should use pinned versions when --exact-o3r-version is used: packages/@ama-sdk/create/src/index.it.spec.ts#L151
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @[email protected] typescript @my-test/sdk -- --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml STDERR: npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected] \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_47_17_464Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_47_17_464Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_47_21_598Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path /home/runner/work/otter/it-tests/test-create-sdk6 npm error command failed npm error command sh -c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T16_47_07_297Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml· CREATE my-test/sdk/.commitlintrc.json (810 bytes) CREATE my-test/sdk/.editorconfig (208 bytes) CREATE my-test/sdk/.openapi-generator-ignore (90 bytes) CREATE my-test/sdk/.swcrc (329 bytes) CREATE my-test/sdk/.versionrc.json (110 bytes)
it-tests / it-tests (ubuntu-latest, npm, o3r-project-with-app)
Process completed with exit code 1.
Create new otter project command › should generate a project with an application: packages/@o3r/create/src/index.it.spec.ts#L39
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3 STDERR: - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: @angular-devkit/[email protected] npm error node_modules/@angular-devkit/schematics npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project npm error npm error Could not resolve dependency: npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/schematics npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_14_736Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_14_736Z-debug-0.log npm error code 6 npm error path D:\\a\\otter\\it-tests\\test-create-app npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3 npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_49_54_435Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y B!!!!!!!!!!P#Y7!!!!!!!!!!!!7JY5P5YJ????JJY5PP5J?!!!!!!!!!!!!!JBG7!!!!!!!!!J B!!!!!!!!!!!?PG5J?7777?JY5PPYJ7!!!!!!!!!!!!!7J5PPPYJ?77!77?5GBY!!!!!!!!!!!5 J!!!!!!!!!!!!7JY555555YJ?7!!!!!!!!!!!!!!!!!!!!!7?JY5555555Y?!!!!!!!!!!!!!# #?!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JYJJJ?JJJYY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!P &J!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JYYYYJ??7!!!!!!!!!!!!!!!!!!!!!!!!!!!!7G G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& BY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JG& #PYJ?7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!77?YPB& &BPPB &Y7JYYYJ7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?YYYJ??B #?!!!!?P B7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5 Y!!!!!!!?B P!!!!!!!!7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Create new otter project command › should generate a project with a library: packages/@o3r/create/src/index.it.spec.ts#L63
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3 STDERR: - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: @angular-devkit/[email protected] npm error node_modules/@angular-devkit/schematics npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project npm error npm error Could not resolve dependency: npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/schematics npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_43_497Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_43_497Z-debug-0.log npm error code 6 npm error path D:\\a\\otter\\it-tests\\test-create-app1 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3 npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_24_120Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y B!!!!!!!!!!P#Y7!!!!!!!!!!!!7JY5P5YJ????JJY5PP5J?!!!!!!!!!!!!!JBG7!!!!!!!!!J B!!!!!!!!!!!?PG5J?7777?JY5PPYJ7!!!!!!!!!!!!!7J5PPPYJ?77!77?5GBY!!!!!!!!!!!5 J!!!!!!!!!!!!7JY555555YJ?7!!!!!!!!!!!!!!!!!!!!!7?JY5555555Y?!!!!!!!!!!!!!# #?!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JYJJJ?JJJYY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!P &J!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JYYYYJ??7!!!!!!!!!!!!!!!!!!!!!!!!!!!!7G G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& BY?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7JG& #PYJ?7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!77?YPB& &BPPB &Y7JYYYJ7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?YYYJ??B #?!!!!?P B7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5 Y!!!!!!!?B P!!!!!!!!7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Create new otter project command › should generate a project with an application with --exact-o3r-version: packages/@o3r/create/src/index.it.spec.ts#L87
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @o3r@999.0.1735231123807 my-project -- --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3 STDERR: npm warn exec The following package was not found and will be installed: @o3r/[email protected] - Installing packages (npm)... ✔ Packages installed successfully. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error peer @angular-devkit/core@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error 5 more (@angular-devkit/architect, ...) npm error chokidar@\"^4.0.0\" from @angular/[email protected] npm error node_modules/@angular/compiler-cli npm error dev @angular/compiler-cli@\"~19.0.0\" from the root project npm error peer @angular/compiler-cli@\"~19.0.4\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^3.5.2\" from @o3r/[email protected] npm error node_modules/@o3r/core npm error @o3r/core@\"999.0.1735231123807\" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_26_130Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_26_130Z-debug-0.log ✖ Installing package [FAILED: Unable to install package]· npm error code 3 npm error path D:\\a\\otter\\it-tests\\test-create-app2 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3 npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_51_425Z-debug-0.log· OUTPUT: , > npx > create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3··· &BPPPB & &BPGB& #Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG #!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5 BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5 &?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75& #J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y& &Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?# &?!!!!!!!!!!!!J&J&#7!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B &?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7# P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J &7!!!!!!!!GG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!J&7!!!!!!!!B B!!!!!!!!!Y&7!!!!!!!!!!!!!!!!!!77JY5PPP5YJ?7!!!!!!!!!!!!!!!!!!!BG!!!!!!!!!Y
Create new sdk command › should generate a light SDK when the specification is provided: packages/@ama-sdk/create/src/index.it.spec.ts#L68
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml STDERR: npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected] \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_25_090Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_25_090Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_40_854Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_06_369Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml· CREATE my-test/sdk/.commitlintrc.json (847 bytes) CREATE my-test/sdk/.editorconfig (221 bytes) CREATE my-test/sdk/.openapi-generator-ignore (91 bytes) CREATE my-test/sdk/.swcrc (345 bytes) CREATE my-test/sdk/.versionrc.json (119 bytes) CREATE my-test/sdk/CONTRIBUTING.md (126 bytes) CREATE my-test/sdk/jest.config.js (763 bytes) CREATE
Create new sdk command › should generate a full SDK when the specification is provided: packages/@ama-sdk/create/src/index.it.spec.ts#L83
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_48_047Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_48_047Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_57_494Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk1 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_44_076Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml· CREATE my-test/sdk/.commitlintrc.json (847 bytes) CREATE my-test/sdk/.editorconfig (221 bytes) CREATE my-test/sdk/.openapi-generator-ignore (91 bytes) CREATE my-test/sdk/.swcrc (345 bytes) CREATE my-test/sdk/.versionrc.json (119 bytes) CREATE my-test/sdk/CONTRIBUTING.md (126 bytes) CREATE my-test/sdk/jest.config.js (763 bytes) CREATE my-test/sdk/readme.md (7423 bytes) CREATE my-test/sdk/tsconfig.build.json
Create new sdk command › should generate a full SDK when the specification is provided as npm dependency: packages/@ama-sdk/create/src/index.it.spec.ts#L103
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873 STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_03_264Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_03_264Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/amasdk-update-spec-from-npm - Not found npm error 404 npm error 404 'amasdk-update-spec-from-npm@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_12_178Z-debug-0.log Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-create-sdk2\\my-test\\sdk\\open-api.yaml' npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk2 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873 npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_50_59_980Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873· CREATE my-test/sdk/.commitlintrc.json (847 bytes) CREATE my-test/sdk/.editorconfig (221 bytes) CREATE my-test/sdk/.openapi-generator
Create new sdk command › should generate an SDK with no package scope: packages/@ama-sdk/create/src/index.it.spec.ts#L119
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript sdk -- --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_20_657Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_20_657Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_30_291Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk3 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_17_669Z-debug-0.log· OUTPUT: , > npx > create typescript sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml· CREATE sdk/.commitlintrc.json (847 bytes) CREATE sdk/.editorconfig (221 bytes) CREATE sdk/.openapi-generator-ignore (91 bytes) CREATE sdk/.swcrc (345 bytes) CREATE sdk/.versionrc.json (119 bytes) CREATE sdk/CONTRIBUTING.md (119 bytes) CREATE sdk/jest.config.js (736 bytes) CREATE sdk/readme.md (7423 bytes) CREATE sdk/tsconfig.build.json (568 bytes) CREATE sdk/tsconfig.doc.json (374 bytes) CREATE sdk/tsconfig.json (240 bytes) CREATE sdk/typedoc.json (301 bytes) CRE
Create new sdk command › should generate an empty SDK ready to be used: packages/@ama-sdk/create/src/index.it.spec.ts#L124
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk STDERR: \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"~999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_36_326Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_36_326Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk4 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_32_870Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk· CREATE my-test/sdk/.commitlintrc.json (847 bytes) CREATE my-test/sdk/.editorconfig (221 bytes) CREATE my-test/sdk/.openapi-generator-ignore (91 bytes) CREATE my-test/sdk/.swcrc (345 bytes) CREATE my-test/sdk/.versionrc.json (119 bytes) CREATE my-test/sdk/CONTRIBUTING.md (126 bytes) CREATE my-test/sdk/jest.config.js (763 bytes) CREATE my-test/sdk/readme.md (7423 bytes) CREATE my-test/sdk/tsconfig.build.json (568 bytes) CREATE my-test/sdk/tsconfig.doc.json (374 bytes) CREATE my-test/sdk/tsconfig.json (240 bytes) CREATE my-test/sdk/typedoc.json (301 bytes) CREATE my-test/sdk/.vscode/settings.json (636 bytes) CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes) CREATE my-test/sdk/src/index.ts (81 bytes) CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes) CREATE my-test/sdk/src/api/index.ts (18 bytes) CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes) CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes) CREATE my-test/sdk/src/helpers/index.ts (18 bytes) CREATE my-test/sdk/src/helpers/package.json (324 bytes) CREATE my-test/sdk/src/models/enums.ts (97 bytes) CREATE my-test/sdk/src/models/index.ts (134 bytes) CREATE my-test/sdk/src/models/patterns.ts (106 bytes) CREATE my-test/sdk/src/models/base/enums.ts (99 byt
Create new sdk command › should use pinned versions when --exact-o3r-version is used: packages/@ama-sdk/create/src/index.it.spec.ts#L151
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm create @[email protected] typescript @my-test/sdk -- --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml STDERR: npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected] \"7.10.0\" - Installing packages (npm)... npm error code ERESOLVE npm error ERESOLVE could not resolve npm error npm error While resolving: @angular-devkit/[email protected] npm error Found: [email protected] npm error node_modules/chokidar npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected] npm error node_modules/@swc/cli npm error dev @swc/cli@\"~0.5.0\" from the root project npm error npm error Could not resolve dependency: npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Conflicting peer dependency: [email protected] npm error node_modules/chokidar npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected] npm error node_modules/@angular-devkit/core npm error dev @angular-devkit/core@\"~19.0.4\" from the root project npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected] npm error node_modules/@ama-sdk/schematics npm error dev @ama-sdk/schematics@\"999.0.1735231123807\" from the root project npm error 6 more (@o3r/schematics, @angular-devkit/schematics, ...) npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_52_16_199Z-eresolve-report.txt npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_52_16_199Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found npm error 404 npm error 404 'openapi-generator-cli@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_52_21_943Z-debug-0.log Error: OpenApiGeneratorCli failed to install [email protected] npm error code 1 npm error path D:\\a\\otter\\it-tests\\test-create-sdk6 npm error command failed npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-12-26T16_51_55_245Z-debug-0.log· OUTPUT: , > npx > create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml· CREATE my-test/sdk/.commitlintrc.json (847 bytes) CREATE my-test/sdk/.editorconfig (221 bytes) CREATE my-test/sdk/.openapi-generator-ignore (91 bytes) CREATE my-test/sdk/.swcrc (345 bytes) CREATE my-test/sdk/.versionrc.json (119 bytes) CREATE my-test/sdk
it-tests / it-tests (windows-latest, npm, o3r-project-with-app)
Process completed with exit code 1.
ng add extractors › should add extractors to an application: 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)
ng add extractors › should add extractors to a library: 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)
new otter application › should build empty app: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/core:page test-page --project-name test-app STDERR: Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Path "apps/test-app/src/app/test-page/test-page.module.ts" does not exist. OUTPUT: ,, Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Path "apps/test-app/src/app/test-page/test-page.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:59:23)
new otter application with eslint config › should add eslint config to existing application: 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)
new otter application with eslint config › should add eslint config to existing library: 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)
ng add testing › should add testing to an application: 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)
ng add testing › should add testing to an application and fixture to component: 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)
ng add rules-engine › should add rules engine to an application: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/rules-engine:rules-engine-to-component --path apps/test-app/src/components/test-component/test-component.component.ts STDERR: Path "apps/test-app/src/components/test-component/test-component.module.ts" does not exist. OUTPUT: ,,Path "apps/test-app/src/components/test-component/test-component.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:27:23)
ng add rules-engine › should add rules engine to a library: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/rules-engine:rules-engine-to-component --path libs/test-lib/src/components/test-component/test-component.component.ts STDERR: Path "libs/test-lib/src/components/test-component/test-component.module.ts" does not exist. OUTPUT: ,,Path "libs/test-lib/src/components/test-component/test-component.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:60:23)
new otter application with configuration › should add configuration to an application: packages/@o3r/configuration/schematics/index.it.spec.ts#L38
expect(received).toEqual(expected) // deep equality Expected: 20 Received: 18 at Object.<anonymous> (schematics/index.it.spec.ts:38:31)
ng add extractors › should add extractors to an application: 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)
ng add extractors › should add extractors to a library: 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)
new otter application › should build empty app: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/core:page test-page --project-name test-app STDERR: Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Path "apps/test-app/src/app/test-page/test-page.module.ts" does not exist. OUTPUT: ,, Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Asked to run lint fixes, but could not find a eslintrc config file. You can consider to run later the following command to add otter linter rules: ng add @o3r/eslint-config Path "apps/test-app/src/app/test-page/test-page.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:59:23)
new otter application with eslint config › should add eslint config to existing application: 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)
new otter application with eslint config › should add eslint config to existing library: 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)
ng add testing › should add testing to an application: 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)
ng add testing › should add testing to an application and fixture to component: 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)
ng add rules-engine › should add rules engine to an application: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/rules-engine:rules-engine-to-component --path apps\test-app\src\components\test-component\test-component.component.ts STDERR: Path "apps\test-app\src\components\test-component\test-component.module.ts" does not exist. OUTPUT: ,,Path "apps\test-app\src\components\test-component\test-component.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:27:23)
ng add rules-engine › should add rules engine to a library: packages/@o3r/test-helpers/src/utilities/package-manager.ts#L117
Command failed: yarn ng g @o3r/rules-engine:rules-engine-to-component --path libs\test-lib\src\components\test-component\test-component.component.ts STDERR: Path "libs\test-lib\src\components\test-component\test-component.module.ts" does not exist. OUTPUT: ,,Path "libs\test-lib\src\components\test-component\test-component.module.ts" does not exist. at execCmd (../test-helpers/src/utilities/package-manager.ts:117:11) at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:178:10) at Object.<anonymous> (schematics/index.it.spec.ts:60:23)
new otter application with configuration › should add configuration to an application: packages/@o3r/configuration/schematics/index.it.spec.ts#L38
expect(received).toEqual(expected) // deep equality Expected: 20 Received: 18 at Object.<anonymous> (schematics/index.it.spec.ts:38:31)
yarn_lock_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / markdown-link-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / github-actions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / prepare-verdaccio
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e-tests / e2e-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / it-tests (ubuntu-latest, npm, o3r-project-with-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / it-tests (ubuntu-latest, yarn, o3r-project-with-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
dist
27.6 MB
it-reports-ubuntu-latest-npm-
13.2 KB
it-reports-ubuntu-latest-yarn-
27 KB
it-reports-windows-latest-npm-
13.3 KB
it-reports-windows-latest-yarn-
27.1 KB
it-tests-ubuntu-latest-npm-
470 MB
it-tests-ubuntu-latest-yarn-
395 MB
it-tests-windows-latest-npm-
1.55 MB
it-tests-windows-latest-yarn-
75.9 MB
ut-reports-ubuntu-latest
57.3 KB
ut-reports-windows-latest
57.2 KB
verdaccio
14.5 MB