I am using apollo in my angular 10 and I have this problem after running ng serve
ERROR in The target entry-point "apollo-angular" has missing dependencies:
- @angular/core
- apollo-client
- rxjs
- rxjs/operators
- apollo-link
Is there a command to install all this missing dependencies in my project...even though I think I have installed all these..strange that I have these errors. Can someone shine some wisdom in me,thank you in advance
I just had the same issue. Angular 10 doesn't play well with Apollo. Reverting to a previous Angular version should fix it.
You can change your angular version in package.json to something like
or whichever you prefer as long it's before Angular 10.
After that delete package-lock.json, delete the node_module and execute