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

Problems installing 4.0.1 #204

Open
JJ opened this issue Jun 8, 2021 · 7 comments · May be fixed by #213
Open

Problems installing 4.0.1 #204

JJ opened this issue Jun 8, 2021 · 7 comments · May be fixed by #213

Comments

@JJ
Copy link

JJ commented Jun 8, 2021

And I get this error if I try to install 4.0.1:

npm install --save-dev cypress-image-snapshot
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: poly-explorer-feature@0.0.1
npm ERR! Found: cypress@7.5.0
npm ERR! node_modules/cypress
npm ERR!   dev cypress@"^7.4.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"^4.5.0" from cypress-image-snapshot@4.0.1
npm ERR! node_modules/cypress-image-snapshot
npm ERR!   dev cypress-image-snapshot@"^4.0.1" from the root project

package.json includes:

    "cypress": "^7.4.0",
@aaryanporwal
Copy link

I'm having the same issue, were you able to resolve it @JJ?

@ghost
Copy link

ghost commented Jun 11, 2021

Same issue when you install the v7.5.0

@JJ
Copy link
Author

JJ commented Jun 11, 2021

No. I just decided not to use it, or any other kind of snapshot testing

@ghost
Copy link

ghost commented Jun 11, 2021

@jaredpalmer do you have an idea?

@drdreo
Copy link

drdreo commented Jun 15, 2021

It can be fixed by installing it via npm install --legacy-peer-deps
Although this is not the actual fix. They need to upgrade the peer-dependencies

@xurion
Copy link

xurion commented Jun 26, 2021

Pretty sure this package is no longer maintained. Last update was Jan 2021 that only updated the Cypress peer dependency from 4.0.0 to 4.0.1. Cypress 4.0.1 was released February 2020 (year and a half ago at time of posting). Cypress has had three additional major version releases and is currently on 7.6.0.

@divyakumarjain divyakumarjain linked a pull request Aug 3, 2021 that will close this issue
lexanth added a commit to lexanth/cypress-image-snapshot that referenced this issue Sep 29, 2021
Already tested with up to 8.3.1, so would assume anything in the 8.x range is fine.

Fixes jaredpalmer#198 and jaredpalmer#204
@sekushov
Copy link

Use Yarn instead of npm. It resolved my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants