testing-library / cypress-testing-library

🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices.
http://npm.im/@testing-library/cypress
MIT License
1.8k stars 152 forks source link

Conflicting peer dependency with new Cypress release 13.0.0 #261

Open the-serious-programmer opened 12 months ago

the-serious-programmer commented 12 months ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @testing-library/cypress@9.0.0
npm ERR! Found: cypress@13.0.0
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/cypress@9.0.0
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: cypress@12.17.4
npm ERR! node_modules/cypress
npm ERR!   peer cypress@"^12.0.0" from @testing-library/cypress@9.0.0
npm ERR!   node_modules/@testing-library/cypress
npm ERR!     dev @testing-library/cypress@"^9.0.0" from the root project
davereid commented 11 months ago

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

mahadi087 commented 7 months ago

Hello, upgrading to Cypress version 13 by: npm install -D cypress@13.6.2 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/cypress@15.9.2 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: abcxyz@0.0.0 npm WARN Found: cypress@13.6.2 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/cypress@15.9.2 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: abcxyz@0.0.0 npm WARN Found: cypress@13.6.2 npm WARN node_modules/cypress npm WARN dev cypress@"13.6.2" from the root project