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

Namespace has no exported member 'ɵɵInjectorDeclaration' #1770

Closed sergey-levdanski closed 2 years ago

sergey-levdanski commented 2 years ago

Describe the bug

I trying to use apollo-angular latest version(v3.0.0) with Angular v11.1, but facing following error: "Namespace has no exported member 'ɵɵInjectorDeclaration'".

Environment:

├── @angular/cli@11.2.9 
├── UNMET PEER DEPENDENCY @angular/core@11.1.0 
├── @apollo/client@3.5.10 
├── apollo-angular@3.0.0 
├── aws-amplify@4.3.16
├── codelyzer@6.0.0
├── graphql@16.3.0 
└── typescript@4.1.2 
kamilkisiela commented 2 years ago

We support only last 2 versions of Angular See https://github.com/kamilkisiela/apollo-angular/blob/3f27e341c7de7f387fd255b574a7115bc8a32f82/packages/apollo-angular/package.json#L39