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

No support for angular 19 #2322

Closed
KristofGilis opened this issue Nov 21, 2024 · 0 comments · Fixed by #2323
Closed

No support for angular 19 #2322

KristofGilis opened this issue Nov 21, 2024 · 0 comments · Fixed by #2323

Comments

@KristofGilis
Copy link

Describe the bug

After upgrading angular project to version 19, npm i shows the error

npm error Found: @angular/core@19.0.0
npm error node_modules/@angular/core
npm error   @angular/core@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/core@"^17.0.0 || ^18.0.0" from apollo-angular@7.2.1
npm error node_modules/apollo-angular
npm error   apollo-angular@"^7.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

To Reproduce

Steps to reproduce the behavior:

  1. Upgrade angular packages to version 19.0.0
  2. run npm i

Expected behavior

Clean installing of packages without error and warning

Environment:

- @angular/cli@19.0.0
- @angular/core@19.0.0
- @apollo/client@3.11.10
- apollo-angular@7.2.1
- graphql@16.9.0
- typescript@5.6.3

Additional context

It can be done by running npm i with --legacy-peer-deps but I would like the support for angular 19

PowerKiKi added a commit that referenced this issue Nov 22, 2024
PowerKiKi added a commit that referenced this issue Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant