-
Couldn't load subscription status.
- Fork 33
Open
Description
We're having issues in our CI due to peerDependency mismatch:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: wdio-vscode-service@6.1.2
npm error Found: webdriverio@9.4.0
npm error node_modules/webdriverio
npm error dev webdriverio@"^9.2.11" from the root project
npm error webdriverio@"9.4.0" from @wdio/cli@9.4.0
npm error node_modules/@wdio/cli
npm error dev @wdio/cli@"^9.2.11" from the root project
npm error 3 more (@wdio/globals, expect-webdriverio, @wdio/runner)
npm error
npm error Could not resolve dependency:
npm error peerOptional webdriverio@"^8.32.2" from wdio-vscode-service@6.1.2
npm error node_modules/wdio-vscode-service
npm error dev wdio-vscode-service@"^6.1.2" from the root project
npm error
npm error Conflicting peer dependency: webdriverio@8.40.6
npm error node_modules/webdriverio
npm error peerOptional webdriverio@"^8.32.2" from wdio-vscode-service@6.1.2
npm error node_modules/wdio-vscode-service
npm error dev wdio-vscode-service@"^6.1.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-11-27T06_43_57_241Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-11-27T06_43_57_241Z-debug-0.log
Error: Process completed with exit code 1.
The current work-around we've found is adding the following to our package.json:
"overrides": {
"wdio-vscode-service": {
"webdriverio": "^9.2.11"
}
},But adding the above may later easily be forgotten and overlooked while also becoming the cause of other issues related to webdriverio version.
It would be ideal that the peerDependencies of wdio-vscode-service are set such that users of this lib can use the latest major webdriverio version without any issues or need for overrides.
Metadata
Metadata
Assignees
Labels
No labels