Trying to install will result in the following error message:
g add @jscutlery/cypress-angular --force
ℹ Using package manager: npm
✔ Found compatible package version: @jscutlery/cypress-angular@0.5.1.
✔ Package information loaded.
The package @jscutlery/cypress-angular@0.5.1 will be installed and executed.
Would you like to proceed? Yes
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: @angular/core@12.1.3
npm ERR! node_modules/@angular/core
npm ERR! peer @angular/core@"12.1.3" from @angular/animations@12.1.3
npm ERR! node_modules/@angular/animations
npm ERR! peerOptional @angular/animations@"12.1.3" from @angular/platform-browser@12.1.3
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"12.1.3" from @angular/forms@12.1.3
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~12.1.0" from the root project
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR! @angular/animations@"~12.1.0" from the root project
npm ERR! peer @angular/core@"12.1.3" from @angular/common@12.1.3
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"12.1.3" from @angular/forms@12.1.3
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~12.1.0" from the root project
npm ERR! peer @angular/common@"12.1.3" from @angular/platform-browser@12.1.3
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"12.1.3" from @angular/forms@12.1.3
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~12.1.0" from the root project
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR! 5 more (@angular/forms, @angular/platform-browser, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"11.2.14" from @angular/common@11.2.14
npm ERR! node_modules/@jscutlery/cypress-mount/node_modules/@angular/common
npm ERR! peer @angular/common@">=6.0.0" from @storybook/angular@6.3.6
npm ERR! node_modules/@jscutlery/cypress-mount/node_modules/@storybook/angular
npm ERR! optional @storybook/angular@"^6.0.0" from @jscutlery/cypress-mount@0.10.1
npm ERR! node_modules/@jscutlery/cypress-mount
npm ERR! @jscutlery/cypress-mount@"^0.x" from @jscutlery/cypress-angular@0.5.1
npm ERR! node_modules/@jscutlery/cypress-angular
npm ERR! peer @angular/common@"^11.0.0" from ng-dynamic-component@8.0.1
npm ERR! node_modules/@jscutlery/cypress-mount/node_modules/ng-dynamic-component
npm ERR! ng-dynamic-component@"^8.0.1" from @jscutlery/cypress-mount@0.10.1
npm ERR! node_modules/@jscutlery/cypress-mount
npm ERR! @jscutlery/cypress-mount@"^0.x" from @jscutlery/cypress-angular@0.5.1
npm ERR! node_modules/@jscutlery/cypress-angular
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 /home/forest/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/forest/.npm/_logs/2021-07-30T09_22_01_188Z-debug.log
✖ Package install failed, see above.
As you can see, I am already trying the "--force" flag, but it has no effect. Same with --legacy-peer-deps.
Trying to install will result in the following error message:
As you can see, I am already trying the "--force" flag, but it has no effect. Same with --legacy-peer-deps.
angular version: