abramenal / cypress-file-upload

File upload testing made easy
https://npm.im/cypress-file-upload
MIT License
496 stars 89 forks source link

[Bug] Getting errors on installing cypress-file-upload 5.0.8 with cypress 8.0 #316

Closed alapanme closed 2 years ago

alapanme commented 2 years ago

Cypress is unable to resolve dependency tree -

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: cypress@8.0.0
npm ERR! node_modules/cypress
npm ERR!   dev cypress@"8.0.0" from the root project
npm ERR!   peer cypress@">3.0.0" from cypress-file-upload@5.0.8
npm ERR!   node_modules/cypress-file-upload
npm ERR!     dev cypress-file-upload@"^5.0.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"^4.x || ^5.x || ^6.x || ^7.x" from cypress-real-events@1.4.0
npm ERR! node_modules/cypress-real-events
npm ERR!   dev cypress-real-events@"^1.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
alapanme commented 2 years ago

I just checked the logs the issue was caused by some other plugin (cypress-real-events). So this is invalid.