kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

ng add apollo-angular not work with angular 13 #1754

Closed UchihaYuki closed 2 years ago

UchihaYuki commented 2 years ago

A fix needed, the error I got is

peer @angular/core@"^6.1.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0" from apollo-angular@2.6.0
risc-bschenke commented 2 years ago

Same here. Please advise!

acuevas91 commented 2 years ago

In order to use Angular 13, you need to upgrade apollo-angular dependency to an alpha version: 3.0.0-alpha.2

anymos commented 2 years ago

Hi there any idea when the 3.0.0 version will be available officially ? any ETA in mind ?

risc-bschenke commented 2 years ago

It worked using npm install https://github.com/kamilkisiela/apollo-angular.git#master --save. Thank you!

alkamishra20 commented 2 years ago

Hey there !! Its throwing error for me while using version 3.0.0-alpha.2.

ERROR - NullInjectorError: No provider for Apollo!

Cito commented 2 years ago

ERROR - NullInjectorError: No provider for Apollo!

You have to add Apollo to the list of providers in the Angular module.