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

[Bug]: Drop support Angular versions #2213

Closed
Shamarkanda opened this issue Jan 11, 2024 · 0 comments · Fixed by #2214
Closed

[Bug]: Drop support Angular versions #2213

Shamarkanda opened this issue Jan 11, 2024 · 0 comments · Fixed by #2214
Labels
🐛 Bug Confirmed Bug is confirmed

Comments

@Shamarkanda
Copy link

Version

13.1.5

Steps to reproduce

  1. clone any repo with Angular 13 or 14
  2. npm i jest-preset-angular@13.1.5

Expected behavior

It should install everything without errors

Actual behavior

PeerDependencies error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: general-front@0.258.0
npm ERR! Found: @angular-devkit/build-angular@13.3.11
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR! dev @angular-devkit/build-angular@"~13.3.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular-devkit/build-angular@">=15.0.0 <18.0.0" from jest-preset-angular@13.1.5
npm ERR! node_modules/jest-preset-angular
npm ERR! dev jest-preset-angular@"~13.1.2" 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.

Additional context

The semantic versioning is not being respected, a BREAKING CHANGE has been made in a patch version release

Environment

System:
    OS: Windows 11 10.0.22000
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz        
  Binaries:
    Node: 16.20.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.4 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ~29.7.0 => 29.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Confirmed Bug is confirmed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants