cypress-testing-library icon indicating copy to clipboard operation
cypress-testing-library copied to clipboard

Conflicting peer dependency with new Cypress release 13.0.0

Open the-serious-programmer opened this issue 2 years ago • 3 comments

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @testing-library/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/cypress
npm ERR!   dev cypress@"^13.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"^12.0.0" from @testing-library/[email protected]
npm ERR! node_modules/@testing-library/cypress
npm ERR!   dev @testing-library/cypress@"^9.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/cypress
npm ERR!   peer cypress@"^12.0.0" from @testing-library/[email protected]
npm ERR!   node_modules/@testing-library/cypress
npm ERR!     dev @testing-library/cypress@"^9.0.0" from the root project

the-serious-programmer avatar Aug 30 '23 13:08 the-serious-programmer

This would be fixed by https://github.com/testing-library/cypress-testing-library/pull/259

davereid avatar Aug 30 '23 22:08 davereid

Hello, upgrading to Cypress version 13 by: npm install -D [email protected] having endless WARN and installation never completed. Any idea what it could be. Thanks in advanced.

npm WARN Could not resolve dependency: npm WARN peerOptional cypress@">= 3 < 13" from @nrwl/[email protected] npm WARN node_modules/@nrwl/cypress npm WARN dev @nrwl/cypress@"15.9.2" from the root project npm WARN 2 more (@nrwl/angular, @nrwl/storybook) npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/cypress npm WARN dev cypress@"13.6.2" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peerOptional cypress@">= 3 < 13" from @nrwl/[email protected] npm WARN node_modules/@nrwl/cypress npm WARN dev @nrwl/cypress@"15.9.2" from the root project npm WARN 2 more (@nrwl/angular, @nrwl/storybook) npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: [email protected] npm WARN Found: [email protected] npm WARN node_modules/cypress npm WARN dev cypress@"13.6.2" from the root project

mahadi087 avatar Jan 09 '24 10:01 mahadi087

This issue should be closed, as now Cypress >=12 <=15 are supported.

MikeMcC399 avatar Sep 03 '25 07:09 MikeMcC399