Skip to content

chore: upgrade major dependencies #85

chore: upgrade major dependencies

chore: upgrade major dependencies #85

GitHub Actions / IT Tests report-windows-latest-npm failed Jun 24, 2024 in 1s

25 passed, 11 failed and 3 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 1✅ 6❌ 121s
@ama-sdk/schematics/dist-test/it-report.xml 6ms
@o3r/analytics/dist-test/it-report.xml 2✅ 231s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 101s
@o3r/application/dist-test/it-report.xml 1✅ 82s
@o3r/components/dist-test/it-report.xml 2✅ 236s
@o3r/configuration/dist-test/it-report.xml 2✅ 221s
@o3r/core/dist-test/it-report.xml 1❌ 217s
@o3r/create/dist-test/it-report.xml 3✅ 270s
@o3r/design/dist-test/it-report.xml 1✅ 119s
@o3r/eslint-config-otter/dist-test/it-report.xml 2❌ 260s
@o3r/extractors/dist-test/it-report.xml 2✅ 331s
@o3r/localization/dist-test/it-report.xml 1✅ 1⚪ 181s
@o3r/rules-engine/dist-test/it-report.xml 2✅ 223s
@o3r/stylelint-plugin/dist-test/it-report.xml 2✅ 198s
@o3r/styling/dist-test/it-report.xml 2✅ 293s
@o3r/testing/dist-test/it-report.xml 2✅ 2⚪ 271s
@o3r/workspace/dist-test/it-report.xml 1✅ 2❌ 198s

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

7 tests were completed in 121s with 1 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 1✅ 6❌ 110s

❌ Create new sdk command

Create new sdk command should generate a light SDK when the specification is provided
  ❌ Create new sdk command should generate a light SDK when the specification is provided
	Error: expect(received).not.toThrow()
Create new sdk command should generate a full SDK when the specification is provided
  ❌ Create new sdk command should generate a full SDK when the specification is provided
	Error: expect(received).not.toThrow()
Create new sdk command should generate a full SDK when the specification is provided as npm dependency
  ❌ Create new sdk command should generate a full SDK when the specification is provided as npm dependency
	Error: expect(received).not.toThrow()
Create new sdk command should generate an SDK with no package scope
  ❌ Create new sdk command should generate an SDK with no package scope
	Error: expect(received).not.toThrow()
Create new sdk command should generate an empty SDK ready to be used
  ❌ Create new sdk command should generate an empty SDK ready to be used
	Error: expect(received).not.toThrow()
Create new sdk command should fail when there is an error
  ✅ Create new sdk command should fail when there is an error
Create new sdk command should use pinned versions when --exact-o3r-version is used
  ❌ Create new sdk command should use pinned versions when --exact-o3r-version is used
	Error: expect(received).not.toThrow()

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

No tests found

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

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

Test suite Passed Failed Skipped Time
ng add analytics 2✅ 214s

✅ ng add analytics

ng add analytics should add analytics to an application
  ✅ ng add analytics should add analytics to an application
ng add analytics should add analytics to a library
  ✅ ng add analytics should add analytics to a library

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

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

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

✅ new otter application with apis-manager

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

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

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

Test suite Passed Failed Skipped Time
new Angular application 1✅ 69s

✅ new Angular application

new Angular application should add Otter Application to existing Angular app
  ✅ new Angular application should add Otter Application to existing Angular app

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

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

Test suite Passed Failed Skipped Time
ng add components 2✅ 216s

✅ ng add components

ng add components should add components to an application
  ✅ ng add components should add components to an application
ng add components should add components to a library
  ✅ ng add components should add components to a library

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

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

Test suite Passed Failed Skipped Time
new otter application with configuration 2✅ 208s

✅ new otter application with configuration

new otter application with configuration should add configuration to an application
  ✅ new otter application with configuration should add configuration to an application
new otter application with configuration should add configuration to a library
  ✅ new otter application with configuration should add configuration to a library

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

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

Test suite Passed Failed Skipped Time
new otter application 1❌ 200s

❌ new otter application

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

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

3 tests were completed in 270s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new otter project command 3✅ 258s

✅ Create new otter project command

Create new otter project command should generate a project with an application
  ✅ Create new otter project command should generate a project with an application
Create new otter project command should generate a project with a library
  ✅ Create new otter project command should generate a project with a library
Create new otter project command should generate a project with an application with --exact-o3r-version
  ✅ Create new otter project command should generate a project with an application with --exact-o3r-version

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

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

Test suite Passed Failed Skipped Time
new otter application with Design 1✅ 101s

✅ new otter application with Design

new otter application with Design should add design to existing application
  ✅ new otter application with Design should add design to existing application

❌ @o3r/eslint-config-otter/dist-test/it-report.xml

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

Test suite Passed Failed Skipped Time
ng add eslint-config 2❌ 244s

❌ ng add eslint-config

ng add eslint-config should add eslint-config to an application
  ❌ ng add eslint-config should add eslint-config to an application
	Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
ng add eslint-config should add eslint-config to a library
  ❌ ng add eslint-config should add eslint-config to a library
	Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib

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

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

Test suite Passed Failed Skipped Time
ng add extractors 2✅ 314s

✅ ng add extractors

ng add extractors should add extractors to an application
  ✅ ng add extractors should add extractors to an application
ng add extractors should add extractors to a library
  ✅ ng add extractors should add extractors to a library

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

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

Test suite Passed Failed Skipped Time
ng add otter localization 1✅ 1⚪ 164s

✅ ng add otter localization

ng add otter localization should add localization to an application
  ✅ ng add otter localization should add localization to an application
ng add otter localization should add localization to a library
  ⚪ ng add otter localization should add localization to a library

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

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

Test suite Passed Failed Skipped Time
ng add rules-engine 2✅ 207s

✅ ng add rules-engine

ng add rules-engine should add rules engine to an application
  ✅ ng add rules-engine should add rules engine to an application
ng add rules-engine should add rules engine to a library
  ✅ ng add rules-engine should add rules engine to a library

✅ @o3r/stylelint-plugin/dist-test/it-report.xml

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

Test suite Passed Failed Skipped Time
ng add stylelint-plugin 2✅ 186s

✅ ng add stylelint-plugin

ng add stylelint-plugin should add stylelint-plugin to an application
  ✅ ng add stylelint-plugin should add stylelint-plugin to an application
ng add stylelint-plugin should add stylelint-plugin to a library
  ✅ ng add stylelint-plugin should add stylelint-plugin to a library

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

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

Test suite Passed Failed Skipped Time
ng add styling 2✅ 275s

✅ ng add styling

ng add styling should add styling to an application
  ✅ ng add styling should add styling to an application
ng add styling should add styling to a library
  ✅ ng add styling should add styling to a library

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

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

Test suite Passed Failed Skipped Time
ng add testing 2✅ 2⚪ 258s

✅ ng add testing

ng add testing should add testing to an application
  ✅ ng add testing should add testing to an application
ng add testing should add testing to an application and fixture to component
  ✅ ng add testing should add testing to an application and fixture to component
ng add testing should add testing to a library
  ⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
  ⚪ ng add testing should add testing to a library and fixture to component

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

3 tests were completed in 198s with 1 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter workspace 1✅ 2❌ 185s

❌ new otter workspace

new otter workspace should add sdk to an existing workspace
  ❌ new otter workspace should add sdk to an existing workspace
	Error: Command failed: npm exec ng g sdk @my-sdk/sdk
new otter workspace should add sdk to an existing workspace with spec package name
  ❌ new otter workspace should add sdk to an existing workspace with spec package name
	Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
new otter workspace should add a library to an existing workspace
  ✅ new otter workspace should add a library to an existing workspace

Annotations

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should generate a light SDK when the specification is provided ► Create new sdk command should generate a light SDK when the specification is provided

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

Error name:    "Error"
Error message: "Command failed: 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_19_48_257Z-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-06-24T18_19_48_257Z-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-06-24T18_19_52_745Z-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-06-24T18_19_31_262Z-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 my-test/sdk/readme.md (7363 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 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.eslintignore (141 bytes)
CREATE my-test/sdk/.eslintrc.js (1125 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/openapitools.json (405 bytes)
CREATE my-test/sdk/package.json (4390 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (480 bytes)
UPDATE readme.md (7363 bytes)
UPDATE openapitools.json (408 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_19_48_257Z-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-06-24T18_19_48_257Z-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-06-24T18_19_52_745Z-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-06-24T18_19_31_262Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:59:27
      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/@ama-sdk/create/src/index.it.spec.ts:63:11)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:63:11)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should generate a full SDK when the specification is provided ► Create new sdk command should generate a full SDK when the specification is provided

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

Error name:    "Error"
Error message: "Command failed: 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_19_57_482Z-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-06-24T18_19_57_482Z-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-06-24T18_20_03_111Z-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-06-24T18_19_54_746Z-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 (7363 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 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.eslintignore (141 bytes)
CREATE my-test/sdk/.eslintrc.js (1125 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/openapitools.json (405 bytes)
CREATE my-test/sdk/package.json (4390 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE swagger-spec.yaml (2356 bytes)
UPDATE src/spec/operation-adapter.ts (480 bytes)
UPDATE readme.md (7363 bytes)
UPDATE openapitools.json (408 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_19_57_482Z-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-06-24T18_19_57_482Z-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-06-24T18_20_03_111Z-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-06-24T18_19_54_746Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:70:27
      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/@ama-sdk/create/src/index.it.spec.ts:74:11)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:74:11)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should generate a full SDK when the specification is provided as npm dependency ► Create new sdk command should generate a full SDK when the specification is provided as npm dependency

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

Error name:    "Error"
Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-package-name @ama-sdk/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873
STDERR:
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_07_364Z-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-06-24T18_20_07_364Z-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-06-24T18_20_10_475Z-debug-0.log
Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-create-sdk2\\my-test\\sdk\\swagger-spec.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 @ama-sdk/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-06-24T18_20_04_893Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-package-name @ama-sdk/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-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 (7363 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 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.eslintignore (141 bytes)
CREATE my-test/sdk/.eslintrc.js (1125 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (1074 bytes)
CREATE my-test/sdk/openapitools.json (405 bytes)
CREATE my-test/sdk/package.json (4512 bytes)
UPDATE .npmrc (280 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_07_364Z-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-06-24T18_20_07_364Z-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-06-24T18_20_10_475Z-debug-0.log
Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-create-sdk2\\my-test\\sdk\\swagger-spec.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 @ama-sdk/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-06-24T18_20_04_893Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:82:27
      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/@ama-sdk/create/src/index.it.spec.ts:94:11)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:94:11)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should generate an SDK with no package scope ► Create new sdk command should generate an SDK with no package scope

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

Error name:    "Error"
Error message: "Command failed: npm create @ama-sdk typescript sdk -- --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml
STDERR:
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_16_056Z-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-06-24T18_20_16_056Z-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-06-24T18_20_20_668Z-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-06-24T18_20_13_585Z-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 (7363 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)
CREATE sdk/.vscode/settings.json (636 bytes)
CREATE sdk/configs/tsconfig.test.json (517 bytes)
CREATE sdk/src/index.ts (81 bytes)
CREATE sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE sdk/src/api/index.ts (18 bytes)
CREATE sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE sdk/src/fixtures/jest/package.json (354 bytes)
CREATE sdk/src/helpers/index.ts (18 bytes)
CREATE sdk/src/helpers/package.json (315 bytes)
CREATE sdk/src/models/enums.ts (97 bytes)
CREATE sdk/src/models/index.ts (134 bytes)
CREATE sdk/src/models/patterns.ts (106 bytes)
CREATE sdk/src/models/base/enums.ts (99 bytes)
CREATE sdk/src/models/base/index.ts (18 bytes)
CREATE sdk/src/models/base/patterns.ts (102 bytes)
CREATE sdk/src/models/core/enums.ts (50 bytes)
CREATE sdk/src/models/core/index.ts (51 bytes)
CREATE sdk/src/models/core/patterns.ts (53 bytes)
CREATE sdk/src/models/custom/enums.ts (52 bytes)
CREATE sdk/src/models/custom/index.ts (18 bytes)
CREATE sdk/src/models/custom/patterns.ts (55 bytes)
CREATE sdk/src/spec/api-mock.ts (125 bytes)
CREATE sdk/src/spec/index.ts (106 bytes)
CREATE sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE sdk/src/spec/package.json (294 bytes)
CREATE sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE sdk/testing/tsconfig.spec.json (471 bytes)
CREATE sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE sdk/.eslintignore (141 bytes)
CREATE sdk/.eslintrc.js (1125 bytes)
CREATE sdk/.gitignore (658 bytes)
CREATE sdk/.renovaterc.json (878 bytes)
CREATE sdk/openapitools.json (398 bytes)
CREATE sdk/package.json (4374 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (480 bytes)
UPDATE readme.md (7363 bytes)
UPDATE openapitools.json (401 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_16_056Z-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-06-24T18_20_16_056Z-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-06-24T18_20_20_668Z-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-06-24T18_20_13_585Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:105:27
      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/@ama-sdk/create/src/index.it.spec.ts:109:11)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:109:11)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should generate an empty SDK ready to be used ► Create new sdk command should generate an empty SDK ready to be used

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

Error name:    "Error"
Error message: "Command failed: npm create @ama-sdk typescript @my-test/sdk
STDERR:
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_24_858Z-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-06-24T18_20_24_858Z-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-06-24T18_20_22_466Z-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 (7363 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 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.eslintignore (141 bytes)
CREATE my-test/sdk/.eslintrc.js (1125 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/openapitools.json (405 bytes)
CREATE my-test/sdk/package.json (4390 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251632364\" 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-06-24T18_20_24_858Z-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-06-24T18_20_24_858Z-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-06-24T18_20_22_466Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:114:38
      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/@ama-sdk/create/src/index.it.spec.ts:114:120)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:114:120)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

Create new sdk command ► Create new sdk command should use pinned versions when --exact-o3r-version is used ► Create new sdk command should use pinned versions when --exact-o3r-version is used

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

Error name:    "Error"
Error message: "Command failed: 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]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"999.0.1719251632364\" 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-06-24T18_20_56_984Z-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-06-24T18_20_56_984Z-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-06-24T18_21_01_767Z-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-06-24T18_20_36_193Z-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/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7363 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 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.eslintignore (141 bytes)
CREATE my-test/sdk/.eslintrc.js (1125 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/openapitools.json (405 bytes)
CREATE my-test/sdk/package.json (4455 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (480 bytes)
UPDATE readme.md (7363 bytes)
UPDATE openapitools.json (408 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251632364\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251632364\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"999.0.1719251632364\" 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-06-24T18_20_56_984Z-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-06-24T18_20_56_984Z-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-06-24T18_21_01_767Z-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-06-24T18_20_36_193Z-debug-0.log
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:137:27
      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/@ama-sdk/create/src/index.it.spec.ts:141:11)
    at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:141:11)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

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

See this annotation in the file changed.

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

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

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

Error name:    "Error"
Error message: "Command failed: npm exec ng add @o3r/core@~999 -- --preset all --project-name test-app --skip-confirmation
STDERR:
    The package @o3r/analytics was not installed, the options check will be skipped
    The package @o3r/apis-manager was not installed, the options check will be skipped
    The package @o3r/components was not installed, the options check will be skipped
    The package @o3r/configuration was not installed, the options check will be skipped
    The package @o3r/design was not installed, the options check will be skipped
    The package @o3r/dynamic-content was not installed, the options check will be skipped
    The package @o3r/eslint-config-otter was not installed, the options check will be skipped
    The package @o3r/eslint-plugin was not installed, the options check will be skipped
    The package @o3r/forms was not installed, the options check will be skipped
    The package @o3r/localization was not installed, the options check will be skipped
    The package @o3r/rules-engine was not installed, the options check will be skipped
    The package @o3r/stylelint-plugin was not installed, the options check will be skipped
    The package @o3r/styling was not installed, the options check will be skipped
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error       1 more (test-app)
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error       1 more (test-app)
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   @o3r/eslint-config-otter@\"~999.0.1719251632364\" from [email protected]
npm error   apps/test-app
npm error     [email protected]
npm error     node_modules/test-app
npm error       workspace apps\\test-app 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-06-24T18_04_59_956Z-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-06-24T18_04_59_956Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.·
OUTPUT:
,Skipping installation: Package already installed
    ESLint package not installed. Skipping Otter linter phase!
    You can add Otter linter config rules later to the project via this command: ng add @o3r/eslint-config-otter
    The following modules will be installed: @o3r/analytics, @o3r/apis-manager, @o3r/application, @o3r/components, @o3r/configuration, @o3r/design, @o3r/dynamic-content, @o3r/eslint-config-otter, @o3r/eslint-plugin, @o3r/forms, @o3r/localization, @o3r/logger, @o3r/rules-engine, @o3r/store-sync, @o3r/stylelint-plugin, @o3r/styling
    The following modules are now available for your application, add them according to your needs:······
    npm --workspace test-app exec ng add @o3r/testing (outdated, supporting ^10.3.8)·
    The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.·
    (details on https://www.npmjs.com/package/%40o3r%2Ftesting)·······
    npm --workspace test-app exec ng add @o3r/styling (outdated, supporting ^10.3.8)·
    A styling framework to apply a theme on an Otter application at build time and runtime to support CMS customization.·
    (details on https://www.npmjs.com/package/%40o3r%2Fstyling)·······
    npm --workspace test-app exec ng add @o3r/design (outdated, supporting ^10.3.8)·
    A design framework to generate theme on an Otter application based on Design Tokens.·
    (details on https://www.npmjs.com/package/%40o3r%2Fdesign)·······
    npm --workspace test-app exec ng add @o3r/eslint-config-otter·
    Recommended eslint configuration for Otter project·
    (details on https://www.npmjs.com/package/%40o3r%2Feslint-config-otter)·······
    npm --workspace test-app exec ng add @o3r/stylelint-plugin·
    In-house stylelint plugin to use in your own eslint configuration·
    (details on https://www.npmjs.com/package/%40o3r%2Fstylelint-plugin)·······
    npm --workspace test-app exec ng add @o3r/ngx-prefetch·
    Angular builder for prefetching resources before loading the application·
    (details on https://www.npmjs.com/package/%40o3r%2Fngx-prefetch)·······
    npm --workspace test-app exec ng add @o3r/localization (outdated, supporting ^10.3.8)·
    This module provides a runtime dynamic language/translation support and debug tools.·
    (details on https://www.npmjs.com/package/%40o3r%2Flocalization)·
    Tags: CMS enabler·······
    npm --workspace test-app exec ng add @o3r/artifactory-tools·
    Various artifactory tools·
    (details on https://www.npmjs.com/package/%40o3r%2Fartifactory-tools)·······
    npm --workspace test-app exec ng add @o3r/telemetry·
    A set of helpers to retrieve tool usage metrics.·
    (details on https://www.npmjs.com/package/%40o3r%2Ftelemetry)·······
    npm --workspace test-app exec ng add @o3r/dynamic-content (outdated, supporting ^10.3.8)·
    This module provides a mechanism to retrieve media and data depending on the host or a server specific url.·
    (details on https://www.npmjs.com/package/%40o3r%2Fdynamic-content)·
    Tags: CMS enabler·······
    npm --workspace test-app exec ng add @o3r/logger (outdated, supporting ^10.3.8)·
    This module provides a bridge to target different loggers (logrocket, fullstory, smartlook) with a common interface.
    It is reporting the logs emitted by the different Otter Modules.·
    (details on https://www.npmjs.com/package/%40o3r%2Flogger)·······
    npm --workspace test-app exec ng add @o3r/apis-manager·
    This module provides services to help you communicate with your APIs. Its responsibility is to provide an API configuration to a service factory so that it could instantiate an API with the right configurations.
    It contains a default configuration and a m·
    (details on https://www.npmjs.com/package/%40o3r%2Fapis-manager)·······
    npm --workspace test-app exec ng add @o3r/components (outdated, supporting ^10.3.8)·
    This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...)
    It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration·
    (details on https://www.npmjs.com/package/%40o3r%2Fcomponents)·
    Tags: CMS enabler·······
    npm --workspace test-app exec ng add @o3r/rules-engine (outdated, supporting ^10.3.8)·
    This module provides a rule engine that can be executed on your Otter application to customize your application (translations, placeholders and configs) based on a json file generated by your CMS.·
    (details on https://www.npmjs.com/package/%40o3r%2Frules-engine)·
    Tags: CMS enabler·······
    npm --workspace test-app exec ng add @o3r/store-sync (outdated, supporting ^10.3.8)·
    This module is exposing an NgRx store synchronization solution (synchronous and asynchronous) via the class StorageSync.·
    (details on https://www.npmjs.com/package/%40o3r%2Fstore-sync)·······
    npm --workspace test-app exec ng add @o3r/application (outdated, supporting ^10.3.8)·
    This module provides development help to monitor your Otter Application·
    (details on https://www.npmjs.com/package/%40o3r%2Fapplication)·······
    npm --workspace test-app exec ng add @o3r/routing (outdated, supporting ^10.3.8)·
    This module helps you to configure an Otter application's routing (POST parameter management, preloading strategy, guard recommendation).·
    (details on https://www.npmjs.com/package/%40o3r%2Frouting)·······
    npm --workspace test-app exec ng add @o3r/forms (outdated, supporting ^10.3.8)·
    This module provides utilities to enhance angular form (asynchronous decorator, additional validator, error store...).·
    (details on https://www.npmjs.com/package/%40o3r%2Fforms)·······
    npm --workspace test-app exec ng add @o3r/configuration (outdated, supporting ^10.3.8)·
    This module contains configuration-related features such as CMS compatibility, Configuration override, store and debugging.
    It enables your application runtime configuration and comes with an integrated ng builder to help you generate configurations suppo·
    (details on https://www.npmjs.com/package/%40o3r%2Fconfiguration)·
    Tags: CMS enabler·······
    npm --workspace test-app exec ng add @o3r/analytics (outdated, supporting ^10.3.8)·
    This module provides a framework to capture, store and report multiple events (ui, performance etc.) emitted by an Otter Application.·
    (details on https://www.npmjs.com/package/%40o3r%2Fanalytics)·······
    npm --workspace test-app exec ng add @o3r/mobile (outdated, supporting ^10.3.8)·
    This package contains tooling useful for mobile applications.·
    (details on https://www.npmjs.com/package/%40o3r%2Fmobile)·······
    npm --workspace test-app exec ng add @o3r/azure-tools·
    Various Azure DevOps tools·
    (details on https://www.npmjs.com/package/%40o3r%2Fazure-tools)·······
    npm --workspace test-app exec ng add @o3r/third-party (outdated, supporting ^10.3.8)·
    This module provides a bridge to communicate with third parties via an iFrame solution.·
    (details on https://www.npmjs.com/package/%40o3r%2Fthird-party)·······
    npm --workspace test-app exec ng add @o3r/eslint-plugin·
    The module provides in-house eslint plugins to use in your own eslint configuration.·
    (details on https://www.npmjs.com/package/%40o3r%2Feslint-plugin)
UPDATE angular.json (11125 bytes)
UPDATE tsconfig.json (986 bytes)
UPDATE package.json (2985 bytes)
UPDATE apps/test-app/package.json (2696 bytes)
,    The package @o3r/analytics was not installed, the options check will be skipped
    The package @o3r/apis-manager was not installed, the options check will be skipped
    The package @o3r/components was not installed, the options check will be skipped
    The package @o3r/configuration was not installed, the options check will be skipped
    The package @o3r/design was not installed, the options check will be skipped
    The package @o3r/dynamic-content was not installed, the options check will be skipped
    The package @o3r/eslint-config-otter was not installed, the options check will be skipped
    The package @o3r/eslint-plugin was not installed, the options check will be skipped
    The package @o3r/forms was not installed, the options check will be skipped
    The package @o3r/localization was not installed, the options check will be skipped
    The package @o3r/rules-engine was not installed, the options check will be skipped
    The package @o3r/stylelint-plugin was not installed, the options check will be skipped
    The package @o3r/styling was not installed, the options check will be skipped
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error       1 more (test-app)
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error       1 more (test-app)
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@\"~999.0.1719251632364\" from the root project
npm error   @o3r/eslint-config-otter@\"~999.0.1719251632364\" from [email protected]
npm error   apps/test-app
npm error     [email protected]
npm error     node_modules/test-app
npm error       workspace apps\\test-app 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-06-24T18_04_59_956Z-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-06-24T18_04_59_956Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
"

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

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:115:10)
      at packages/@o3r/core/schematics/index.it.spec.ts:28:36
      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:28:177)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\core\schematics\index.it.spec.ts:28:177)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

Check failure on line 0 in @o3r/eslint-config-otter/dist-test/it-report.xml

See this annotation in the file changed.

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

ng add eslint-config ► ng add eslint-config should add eslint-config to an application ► ng add eslint-config should add eslint-config to an application

Failed test found in:
  @o3r/eslint-config-otter/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
Raw output
Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
STDERR:
- Determining package manager...
ℹ Using package manager: npm
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@"~999" 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-06-24T18_04_58_065Z-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-06-24T18_04_58_065Z-debug-0.log
✖ Packages installation failed, see above.

OUTPUT:
,,- Determining package manager...
ℹ Using package manager: npm
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@"~999" 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-06-24T18_04_58_065Z-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-06-24T18_04_58_065Z-debug-0.log
✖ Packages installation failed, see above.

    at execCmd (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:83:11)
    at packageManagerExec (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:115:10)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\eslint-config-otter\schematics\index.it.spec.ts:22:23)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

Check failure on line 0 in @o3r/eslint-config-otter/dist-test/it-report.xml

See this annotation in the file changed.

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

ng add eslint-config ► ng add eslint-config should add eslint-config to a library ► ng add eslint-config should add eslint-config to a library

Failed test found in:
  @o3r/eslint-config-otter/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib
Raw output
Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib
STDERR:
- Determining package manager...
ℹ Using package manager: npm
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@"~999" 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-06-24T18_05_44_103Z-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-06-24T18_05_44_103Z-debug-0.log
✖ Packages installation failed, see above.

OUTPUT:
,,- Determining package manager...
ℹ Using package manager: npm
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   @o3r/eslint-config-otter@"~999" 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-06-24T18_05_44_103Z-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-06-24T18_05_44_103Z-debug-0.log
✖ Packages installation failed, see above.

    at execCmd (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:83:11)
    at packageManagerExec (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:115:10)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\eslint-config-otter\schematics\index.it.spec.ts:51:23)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

Check failure on line 0 in @o3r/workspace/dist-test/it-report.xml

See this annotation in the file changed.

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

new otter workspace ► new otter workspace should add sdk to an existing workspace ► new otter workspace should add sdk to an existing workspace

Failed test found in:
  @o3r/workspace/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng g sdk @my-sdk/sdk
Raw output
Error: Command failed: npm exec ng g sdk @my-sdk/sdk
STDERR:
            "7.4.0"
- Installing packages (npm)...
npm warn workspaces @my-sdk/sdk in filter set, but no workspace folder present
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs\my-sdk-sdk 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-06-24T18_16_35_935Z-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-06-24T18_16_35_935Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

OUTPUT:
,CREATE libs/my-sdk-sdk/.openapi-generator-ignore (91 bytes)
CREATE libs/my-sdk-sdk/.swcrc (345 bytes)
CREATE libs/my-sdk-sdk/jest.config.js (387 bytes)
CREATE libs/my-sdk-sdk/readme.md (7363 bytes)
CREATE libs/my-sdk-sdk/tsconfig.build.json (568 bytes)
CREATE libs/my-sdk-sdk/tsconfig.doc.json (374 bytes)
CREATE libs/my-sdk-sdk/tsconfig.json (240 bytes)
CREATE libs/my-sdk-sdk/typedoc.json (301 bytes)
CREATE libs/my-sdk-sdk/configs/tsconfig.test.json (517 bytes)
CREATE libs/my-sdk-sdk/src/index.ts (81 bytes)
CREATE libs/my-sdk-sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE libs/my-sdk-sdk/src/api/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/package.json (362 bytes)
CREATE libs/my-sdk-sdk/src/helpers/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/helpers/package.json (323 bytes)
CREATE libs/my-sdk-sdk/src/models/enums.ts (97 bytes)
CREATE libs/my-sdk-sdk/src/models/index.ts (134 bytes)
CREATE libs/my-sdk-sdk/src/models/patterns.ts (106 bytes)
CREATE libs/my-sdk-sdk/src/models/base/enums.ts (99 bytes)
CREATE libs/my-sdk-sdk/src/models/base/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/models/base/patterns.ts (102 bytes)
CREATE libs/my-sdk-sdk/src/models/core/enums.ts (50 bytes)
CREATE libs/my-sdk-sdk/src/models/core/index.ts (51 bytes)
CREATE libs/my-sdk-sdk/src/models/core/patterns.ts (53 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/enums.ts (52 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/patterns.ts (55 bytes)
CREATE libs/my-sdk-sdk/src/spec/api-mock.ts (125 bytes)
CREATE libs/my-sdk-sdk/src/spec/index.ts (106 bytes)
CREATE libs/my-sdk-sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/spec/package.json (302 bytes)
CREATE libs/my-sdk-sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE libs/my-sdk-sdk/testing/tsconfig.spec.json (471 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE libs/my-sdk-sdk/.eslintignore (141 bytes)
CREATE libs/my-sdk-sdk/.eslintrc.js (1125 bytes)
CREATE libs/my-sdk-sdk/.gitignore (658 bytes)
CREATE libs/my-sdk-sdk/openapitools.json (404 bytes)
CREATE libs/my-sdk-sdk/package.json (4230 bytes)
UPDATE angular.json (11690 bytes)
UPDATE tsconfig.json (1289 bytes)
,            "7.4.0"
- Installing packages (npm)...
npm warn workspaces @my-sdk/sdk in filter set, but no workspace folder present
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs\my-sdk-sdk 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-06-24T18_16_35_935Z-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-06-24T18_16_35_935Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

    at execCmd (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:83:11)
    at packageManagerExec (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:115:10)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\workspace\schematics\index.it.spec.ts:21:23)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)

Check failure on line 0 in @o3r/workspace/dist-test/it-report.xml

See this annotation in the file changed.

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

new otter workspace ► new otter workspace should add sdk to an existing workspace with spec package name ► new otter workspace should add sdk to an existing workspace with spec package name

Failed test found in:
  @o3r/workspace/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
Raw output
Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
STDERR:
            "7.4.0"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs\my-sdk-sdk 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-06-24T18_17_18_138Z-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-06-24T18_17_18_138Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

OUTPUT:
,CREATE libs/my-sdk-sdk/.openapi-generator-ignore (91 bytes)
CREATE libs/my-sdk-sdk/.swcrc (345 bytes)
CREATE libs/my-sdk-sdk/jest.config.js (387 bytes)
CREATE libs/my-sdk-sdk/readme.md (7363 bytes)
CREATE libs/my-sdk-sdk/tsconfig.build.json (568 bytes)
CREATE libs/my-sdk-sdk/tsconfig.doc.json (374 bytes)
CREATE libs/my-sdk-sdk/tsconfig.json (240 bytes)
CREATE libs/my-sdk-sdk/typedoc.json (301 bytes)
CREATE libs/my-sdk-sdk/configs/tsconfig.test.json (517 bytes)
CREATE libs/my-sdk-sdk/src/index.ts (81 bytes)
CREATE libs/my-sdk-sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE libs/my-sdk-sdk/src/api/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/package.json (362 bytes)
CREATE libs/my-sdk-sdk/src/helpers/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/helpers/package.json (323 bytes)
CREATE libs/my-sdk-sdk/src/models/enums.ts (97 bytes)
CREATE libs/my-sdk-sdk/src/models/index.ts (134 bytes)
CREATE libs/my-sdk-sdk/src/models/patterns.ts (106 bytes)
CREATE libs/my-sdk-sdk/src/models/base/enums.ts (99 bytes)
CREATE libs/my-sdk-sdk/src/models/base/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/models/base/patterns.ts (102 bytes)
CREATE libs/my-sdk-sdk/src/models/core/enums.ts (50 bytes)
CREATE libs/my-sdk-sdk/src/models/core/index.ts (51 bytes)
CREATE libs/my-sdk-sdk/src/models/core/patterns.ts (53 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/enums.ts (52 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/index.ts (18 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/patterns.ts (55 bytes)
CREATE libs/my-sdk-sdk/src/spec/api-mock.ts (125 bytes)
CREATE libs/my-sdk-sdk/src/spec/index.ts (106 bytes)
CREATE libs/my-sdk-sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/spec/package.json (302 bytes)
CREATE libs/my-sdk-sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE libs/my-sdk-sdk/testing/tsconfig.spec.json (471 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE libs/my-sdk-sdk/.eslintignore (141 bytes)
CREATE libs/my-sdk-sdk/.eslintrc.js (1125 bytes)
CREATE libs/my-sdk-sdk/.gitignore (658 bytes)
CREATE libs/my-sdk-sdk/openapitools.json (404 bytes)
CREATE libs/my-sdk-sdk/package.json (4353 bytes)
UPDATE .npmrc (280 bytes)
UPDATE angular.json (11690 bytes)
UPDATE tsconfig.json (1289 bytes)
,            "7.4.0"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs\my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251632364" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs\my-sdk-sdk 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-06-24T18_17_18_138Z-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-06-24T18_17_18_138Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

    at execCmd (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:83:11)
    at packageManagerExec (D:\a\otter\otter\packages\@o3r\test-helpers\src\utilities\package-manager.ts:115:10)
    at Object.<anonymous> (D:\a\otter\otter\packages\@o3r\workspace\schematics\index.it.spec.ts:35:23)
    at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
    at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
    at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
    at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)