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

[email protected] requires a peer of cypress@^4.5.0 but none is installed. You must install peer dependencies yourself. #168

Open
matrunchyk opened this issue Jan 10, 2021 · 3 comments · May be fixed by #175

Comments

@matrunchyk
Copy link

Hi, thank you for you package!

Is it compatible with Cypress@6?
When I try to install it, it warns me with:

[email protected] requires a peer of cypress@^4.5.0 but none is installed. You must install peer dependencies yourself.

Also, it creates two folders: tests/e2e/snapshots and tests/e2e/screenshots. Am I missing some config entries?

Thanks!

@lmeikle
Copy link
Contributor

lmeikle commented Jan 25, 2021

Hey, I had this issue as well just now, I found that if I deleted my node_modules and tried again it was then fine, weird but worth a try :)

@Develliot
Copy link

Develliot commented Jan 27, 2021

It didn't fix it for me because I think ^4.5.0 is only going to cover minor version in v4, I think the package.json needs a range of stable major versions or >

I've been using this plugin with cypress 6.3.0 without any issues.

@jdanil jdanil linked a pull request Feb 4, 2021 that will close this issue
@afshinm
Copy link

afshinm commented May 9, 2021

Having the same issue and it's happening because of this line https://github.com/jaredpalmer/cypress-image-snapshot/blob/master/package.json#L49

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.

4 participants