Skip to content

@testing-library/cypress@10.0.3 peer dependency warning for cypress >=12 <=14 #32616

@MikeMcC399

Description

@MikeMcC399

Current behavior

When building Cypress from source, the logs show a warning

@packages/app > @testing-library/cypress@10.0.3" has incorrect peer dependency "cypress@^12.0.0 || ^13.0.0 || ^14.0.0".

Desired behavior

Cypress should not show a peer dependency warning related to the use of the npm module @testing-library/cypress when building Cypress from source.

Test code to reproduce

git clone https://github.com/cypress-io/cypress
cd cypress
n auto # or manually install Node.js 22.18.0
git clean -xfd # if repeating
npm install yarn@latest -g
yarn

Cypress Version

15.3.0 504b153

Debug Logs

warning "workspace-aggregator-7b41db61-b52d-40ed-8adb-962521e39b2f > @packages/app > @testing-library/cypress@10.0.3" has incorrect peer dependency "cypress@^12.0.0 || ^13.0.0 || ^14.0.0".

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions