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

Can't install permissions library #23

Closed
anriijmind opened this issue Apr 27, 2021 · 4 comments · Fixed by #37
Closed

Can't install permissions library #23

anriijmind opened this issue Apr 27, 2021 · 4 comments · Fixed by #37
Assignees
Labels
chore Just gotta do it dependencies Pull requests that update a dependency file released

Comments

@anriijmind
Copy link

anriijmind commented Apr 27, 2021

Can't install permissions library, it fails

`npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: cypress@1.0.0
npm ERR! Found: cypress@7.2.0
npm ERR! node_modules/cypress
npm ERR!   dev cypress@"^7.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer cypress@"4.x" from cypress-browser-permissions@1.0.5
npm ERR! node_modules/cypress-browser-permissions
npm ERR!   dev cypress-browser-permissions@"*" 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.
npm ERR! 
npm ERR! See /Users/andrii/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/andrii/.npm/_logs/2021-04-27T08_06_26_543Z-debug.log`

Could you help?

@kamranayub
Copy link
Owner

kamranayub commented Sep 28, 2021

This is because I need to update the peer dependencies. I will work on doing that.

In the meantime, did you already try this?

retry this command with --force, or --legacy-peer-deps

Looks like this is the latest npm.

Let me know if that works. As long as the API hasn't changed, it should be fine.

@kamranayub kamranayub self-assigned this Sep 28, 2021
@kamranayub kamranayub added dependencies Pull requests that update a dependency file chore Just gotta do it labels Sep 28, 2021
@AurelienKun
Copy link

I have this problem too. I have to --force the installation which is not great. Any fix soon about this @kamranayub ?

@kamranayub
Copy link
Owner

kamranayub commented Nov 15, 2021

I'd accept a contribution if someone wants to update the peer (and dev) dependencies in the package.json and has tested it with the latest Cypress. That should be the only thing needed.

Since there's a workaround I haven't prioritized this, I'll see if I can get to it this week.

@kamranayub
Copy link
Owner

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Just gotta do it dependencies Pull requests that update a dependency file released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants