Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MONITOR-SPEC-PR] Unmet peer dependencies encountered in JS automation #9655

Open
jianingwang123 opened this issue Jan 17, 2025 · 0 comments

Comments

@jianingwang123
Copy link

jianingwang123 commented Jan 17, 2025

Description:
Unmet peer dependencies error and pnpm install Command Exited with Code 1 occurred in JS automation. The error message is as follows:


03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Checking installation in "/mnt/vss/_work/1/s/azure-sdk-for-js/common/temp"
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Running "pnpm install" in /mnt/vss/_work/1/s/azure-sdk-for-js/common/temp
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 0, reused 1, downloaded 0, added 0
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 478, reused 477, downloaded 1, added 0
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 974, reused 920, downloaded 1, added 0
03:12:29.128 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 1454, reused 1371, downloaded 4, added 0
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:      WARN  7 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, eslint@8.57.1, glob@7.2.3, glob@8.1.0, inflight@1.0.6, rimraf@3.0.2
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 1739, reused 1660, downloaded 15, added 0
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     Packages: +20
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     ++++++++++++++++++++
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     Progress: resolved 1739, reused 1660, downloaded 15, added 20, done
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:      ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     .
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     ├─┬ @vitest/browser 2.1.8
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     │ └── ✕ unmet peer vitest@2.1.8: found 3.0.1
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:     └─┬ vitest 3.0.1
03:12:29.129 cmdout 	[automation_generate.sh] [WARN]:       └── ✕ unmet peer @vitest/browser@3.0.1: found 2.1.8
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     The command failed:
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:      /mnt/vss/_work/1/s/azure-sdk-for-js/common/temp/pnpm-local/node_modules/.bin/pnpm install --store /mnt/vss/_work/1/s/azure-sdk-for-js/common/temp/pnpm-store --config.cacheDir=/mnt/vss/_work/1/s/azure-sdk-for-js/common/temp/pnpm-store --config.stateDir=/mnt/vss/_work/1/s/azure-sdk-for-js/common/temp/pnpm-store --no-prefer-frozen-lockfile --strict-peer-dependencies --config.auto-install-peers=false --config.resolutionMode=highest --config.ignoreCompatibilityDb
03:12:29.130 cmdout 	[automation_generate.sh] [WARN]:     ERROR: Error: Process exited with code 1
03:12:29.130 cmdout 	[automation_generate.sh] [ERROR]: Failed to build for readme file 'specification/datafactory/resource-manager/readme.md'.
03:12:29.131 cmdout 	[automation_generate.sh] Err: Error: Command closed with code '1'.

Additional context:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4485900&view=logs&j=47092895-c7c8-567a-c7a6-8c88f3ec178e&t=d293a8e8-c6af-5091-cdf7-4c66482dd6f2&l=2679
The same issue in other PRs:
link1, link2, link3, link4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant