chore: angular 19 #13373
main.yml
on: pull_request
yarn_lock_check
2m 10s
Matrix: checks / test
checks
/
markdown-link-check
47s
checks
/
lint
16m 30s
checks
/
github-actions
3m 40s
e2e-tests
/
e2e-tests
4m 1s
Matrix: it-tests / it-tests
documentation-pr
/
deploy-on-azure-static-webapp
documentation-main
/
deploy-on-azure-static-webapp
publish-packages
/
publish-cascading
publish-packages
/
publish-extensions
Annotations
42 errors and 11 warnings
checks / test (ubuntu-latest)
Process completed with exit code 1.
|
checks / test (windows-latest)
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 /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-26T14_10_32_106Z-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-26T14_10_32_106Z-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-26T14_10_17_581Z-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?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-26T14_10_48_388Z-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-26T14_10_48_388Z-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-26T14_10_35_795Z-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?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.1735221813896 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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_13_796Z-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-26T14_11_13_796Z-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-26T14_10_51_467Z-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?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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_10_46_829Z-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-26T14_10_46_829Z-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-26T14_10_59_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-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-26T14_10_33_493Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_03_654Z-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-26T14_11_03_654Z-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-26T14_11_11_070Z-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-26T14_11_01_474Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_14_430Z-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-26T14_11_14_430Z-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-26T14_11_20_650Z-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-26T14_11_12_342Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_26_463Z-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-26T14_11_26_463Z-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-26T14_11_34_388Z-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-26T14_11_24_063Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_38_270Z-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-26T14_11_38_270Z-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-26T14_11_35_555Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_11_59_845Z-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-26T14_11_59_845Z-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-26T14_12_04_241Z-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-26T14_11_49_528Z-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-26T14_14_59_738Z-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-26T14_14_59_738Z-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-26T14_14_39_598Z-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?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-26T14_15_26_005Z-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-26T14_15_26_005Z-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-26T14_15_08_354Z-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?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.1735221813896 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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_16_09_163Z-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-26T14_16_09_163Z-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-26T14_15_33_621Z-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?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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_15_09_778Z-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-26T14_15_09_778Z-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-26T14_15_25_254Z-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-26T14_14_51_889Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_15_30_870Z-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-26T14_15_30_870Z-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-26T14_15_42_081Z-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-26T14_15_27_647Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_15_47_271Z-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-26T14_15_47_271Z-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-26T14_15_55_951Z-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-26T14_15_44_410Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_16_04_315Z-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-26T14_16_04_315Z-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-26T14_16_14_729Z-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-26T14_16_00_658Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_16_21_561Z-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-26T14_16_21_561Z-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-26T14_16_17_903Z-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.1735221813896\" 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.1735221813896\" 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.1735221813896\" 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-26T14_17_02_436Z-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-26T14_17_02_436Z-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-26T14_17_08_018Z-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-26T14_16_42_870Z-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 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)
|
new otter application › should build empty app:
packages/@o3r/core/schematics/index.it.spec.ts#L126
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk /home/runner/work/otter/it-tests/test-app-core/apps/test-app/apps/test-app/apps/test-app/dist/localizations/en-GB.json
,The file /home/runner/work/otter/it-tests/test-app-core/localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/core/schematics/index.it.spec.ts:126:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:126:111)
at Object.<anonymous> (schematics/index.it.spec.ts:126:111)
|
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/rules-engine/schematics/index.it.spec.ts#L50
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:111)
at Object.<anonymous> (schematics/index.it.spec.ts:50:111)
|
ng add rules-engine › should add rules engine to a library:
packages/@o3r/rules-engine/schematics/index.it.spec.ts#L78
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.·
5 imports: [],
~~·
src/lib/test-lib.component.ts:13:14
13 export class TestLibComponent {
~~~~~~~~~~~~~~~~
Did you forget to add 'standalone: true' to this @component?
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:111)
at Object.<anonymous> (schematics/index.it.spec.ts:78:111)
|
new otter application with configuration › should add configuration to an application:
packages/@o3r/configuration/schematics/index.it.spec.ts#L49
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/configuration/schematics/index.it.spec.ts:49:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/configuration/schematics/index.it.spec.ts:49:111)
at Object.<anonymous> (schematics/index.it.spec.ts:49:111)
|
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 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)
|
new otter application › should build empty app:
packages/@o3r/core/schematics/index.it.spec.ts#L126
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,Localization metadata bundle extracted in localisation.metadata.json.
Writing file to disk D:\\a\\otter\\it-tests\\test-app-core\\apps\\test-app\\apps\\test-app\\apps\\test-app\\dist\\localizations\\en-GB.json
,The file D:\\a\\otter\\it-tests\\test-app-core\\localisation.metadata.json does not exist, the extractor will be run
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/core/schematics/index.it.spec.ts:126:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/core/schematics/index.it.spec.ts:126:111)
at Object.<anonymous> (schematics/index.it.spec.ts:126:111)
|
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/rules-engine/schematics/index.it.spec.ts#L50
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:50:111)
at Object.<anonymous> (schematics/index.it.spec.ts:50:111)
|
ng add rules-engine › should add rules engine to a library:
packages/@o3r/rules-engine/schematics/index.it.spec.ts#L78
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-lib build
STDERR:
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @component?·
·
OUTPUT:
,Building Angular Package
------------------------------------------------------------------------------
Building entry point 'test-lib'
------------------------------------------------------------------------------
,- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
src/lib/test-lib.component.ts:5:12 - error NG2010: 'imports' is only valid on a component that is standalone.···
5 imports: [],·
~~···
src/lib/test-lib.component.ts:13:14·
13 export class TestLibComponent {·
~~~~~~~~~~~~~~~~·
Did you forget to add 'standalone: true' to this @component?·
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/rules-engine/schematics/index.it.spec.ts:78:111)
at Object.<anonymous> (schematics/index.it.spec.ts:78:111)
|
new otter application with configuration › should add configuration to an application:
packages/@o3r/configuration/schematics/index.it.spec.ts#L49
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn workspace test-app build
STDERR:
This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/·
OUTPUT:
,,This version of CLI is only compatible with Angular versions ^19.0.0,
but Angular version 18.2.13 was found instead.
Please visit the link below to find instructions on how to update Angular.
https://update.angular.dev/
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerWorkspaceRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:237:10)
at packageManagerRunOnProject (packages/@o3r/test-helpers/src/utilities/package-manager.ts:248:26)
at packages/@o3r/configuration/schematics/index.it.spec.ts:49:44
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/configuration/schematics/index.it.spec.ts:49:111)
at Object.<anonymous> (schematics/index.it.spec.ts:49:111)
|
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
|
build
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
|
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
|
29.8 MB |
|
it-reports-ubuntu-latest-npm-
|
13.2 KB |
|
it-reports-ubuntu-latest-yarn-
|
30.8 KB |
|
it-reports-windows-latest-npm-
|
13.3 KB |
|
it-reports-windows-latest-yarn-
|
31.1 KB |
|
it-tests-ubuntu-latest-npm-
|
470 MB |
|
it-tests-ubuntu-latest-yarn-
|
378 MB |
|
it-tests-windows-latest-npm-
|
1.55 MB |
|
it-tests-windows-latest-yarn-
|
76 MB |
|
ut-reports-ubuntu-latest
|
56.3 KB |
|
ut-reports-windows-latest
|
56.2 KB |
|
verdaccio
|
14.6 MB |
|