Apollo-angular: Support angular 12

Created on 19 May 2021  ·  7Comments  ·  Source: kamilkisiela/apollo-angular

Describe the bug

Hello :)
apollo-angular has a peer dependency to @angular/core@"^6.1.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0". It will be great if it can accept the new angular 12 version

To Reproduce
Steps to reproduce the behavior:

Update to angular 12 and try to install apollo-angular (or update it). You will get :

npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"^6.1.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" from [email protected]
npm ERR! node_modules/apollo-angular
npm ERR!   apollo-angular@"^2.4.0" from the root project

Environment:

├── @angular/[email protected]
├── @angular/[email protected]
├── @apollo/[email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Additional context

Thanks for your work :)

Most helpful comment

All 7 comments

i still use apollo-angular 1.x. cloud we add the angular 12 support for v1.x?

I also have this issue with Angular 11

Could not resolve dependency:
npm ERR! peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0" from [email protected]
npm ERR! node_modules/apollo-angular-link-http-common
npm ERR! apollo-angular-link-http-common@"^1.10.0" from the root project

Is there a time estimate for releasing the new version that will be compatible with Angular 12? ) (for v2.x)

also experiencing this error

@kamilkisiela same happening with apollo-angular-link-http-common

@celvin http link is now under apollo-angular/http

Was this page helpful?
0 / 5 - 0 ratings