jest-preset-angular: [Bug]: Angular 14 support
Version
11
Steps to reproduce
Create brandnew Angular project via ng new with --next flag.
Expected behavior
Nothing to report here…
Actual behavior
At this point there is a dependency conflict:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: angular-net@1.0.0
npm ERR! Found: @angular-devkit/build-angular@14.0.0-next.11
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"14.0.0-next.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular-devkit/build-angular@">=0.1002.4" from jest-preset-angular@11.1.1
npm ERR! node_modules/jest-preset-angular
npm ERR! dev jest-preset-angular@"11.1.1" 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/henry/.npm/eresolve-report.txt for a full report.
Additional context
No response
Environment
System: MacOS
Node: 14
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 4
- Comments: 18 (4 by maintainers)
Commits related to this issue
- feat: support Angular 14 Closes #1410 — committed to thymikee/jest-preset-angular by deleted user 2 years ago
- feat: support Angular 14 (#1611) Closes #1410 — committed to thymikee/jest-preset-angular by ahnpnl 2 years ago
Don’t get me wrong but this is not stackoverflow. The issues has been resolved, if you have problems - this is not the right place.
I am sorry, but I still cannot get this resolved, even after
Here are all my dependencies from my package.json
Output from
npm doctorWhat did I do wrong? 😦