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

webdriverio peer dep needs to be updated to include v9 #1130

Open
1 task done
smackfu opened this issue Oct 25, 2024 · 0 comments
Open
1 task done

webdriverio peer dep needs to be updated to include v9 #1130

smackfu opened this issue Oct 25, 2024 · 0 comments

Comments

@smackfu
Copy link

smackfu commented Oct 25, 2024

Product

webdriverio

Product Version

4.10.0

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

If I have the latest version of webdriverio installed, I would expect @axe-core/webdriverio to use it and not get a peer dep error.

Actual

Peer dep list only include v8 so there is a peer dep error.

$ npm install --save-dev @axe-core/webdriverio@latest
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: example@1.0.0
npm error Found: webdriverio@9.2.1
npm error node_modules/webdriverio
npm error   dev webdriverio@"^9.2.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer webdriverio@"^5 || ^6 || ^7 || ^8" from @axe-core/webdriverio@4.10.0
npm error node_modules/@axe-core/webdriverio
npm error   dev @axe-core/webdriverio@"4.10.0" 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.

How to Reproduce

  1. npm init
  2. npm install --save-dev webdriverio@latest
  3. npm install --save-dev @axe-core/webdriverio@latest

Additional context

webdriverio was bumped to v9 on Aug 15, and has had several releases so should be stable by now:
https://www.npmjs.com/package/webdriverio/v/9.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant