babangsund / cypress-keycloak

Cypress commands for Keycloak
MIT License
43 stars 39 forks source link

Peer dependency for Cypress 12 #48

Closed marousis closed 1 year ago

marousis commented 1 year ago

Please add peer dependency for Cypress 12

Now is: "peerDependencies": { "cypress": "^6.5.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" }

Should be: "peerDependencies": { "cypress": "^6.5.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0" }

alecmestroni commented 1 year ago

same here, agree with him use --force to install

marlonkerstens commented 1 year ago

Also need this! 🙏

githubaja commented 1 year ago

I can confirm this. Here is the full error stack:

`npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: cypress10@1.0.0 npm ERR! Found: cypress@12.3.0 npm ERR! node_modules/cypress npm ERR! dev cypress@"^12.3.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer cypress@"^6.5.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" from cypress-keycloak@2.0.0 npm ERR! node_modules/cypress-keycloak npm ERR! dev cypress-keycloak@"^2.0.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.`

salimmenari commented 1 year ago

It would be very much appreciated. @babangsund

alex-w0 commented 1 year ago

Is this repo still maintained?