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

(bug) npm i cypress-plugin-snapshots - npm error while installing #239

Open
NikitaSheff opened this issue Jun 18, 2024 · 6 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@NikitaSheff
Copy link

NikitaSheff commented Jun 18, 2024

Cypress v13.11

npm i cypress-plugin-snapshots
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/cypress
npm error   dev cypress@"^13.11.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer cypress@"^4.5.0" from [email protected]
npm error node_modules/cypress-plugin-snapshots
npm error   cypress-plugin-snapshots@"*" 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.
npm error
npm error
@NikitaSheff NikitaSheff added the bug Something isn't working label Jun 18, 2024
@MaxAtoms
Copy link

There was a change 8 months ago to simply allow any Cypress version higher than 4.5.0:
a8bd883

There has not been a release to npm, however.

@dlangsam
Copy link

I'm running into this too

@DavidRNogueira
Copy link

Also seeing this issue

@daniellizik
Copy link

soo....this package is not maintained?

@DavidRNogueira
Copy link

soo....this package is not maintained?

Yeah I gave up on this package. I am now using this one, has worked really well: https://github.com/haim-io/cypress-image-diff

@suchipi
Copy link

suchipi commented Jul 31, 2024

There was a change 8 months ago to simply allow any Cypress version higher than 4.5.0: a8bd883

There has not been a release to npm, however.

I published the fix to npm in a fork: https://www.npmjs.com/package/@suchipi/cypress-plugin-snapshots/v/1.4.5

I'm not gonna promise to maintain the fork, but if people wanna use this one instead of cypress-image-diff, the fork should make the npm install error go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants