question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dependency error on Angular 13

See original GitHub issue

On an Angular 13 project running

ng add apollo-angular

results in this…

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 || ^12.0.0” from apollo-angular@2.6.0

To Reproduce

Steps to reproduce the behavior:

Run from terminal ng add apollo-angular

Expected behavior

Well, I was hoping for this to work 😃

Environment:

├── @angular/cli@13.0.1
├── @angular/core@13.0.0
└── typescript@4.4.4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:44
  • Comments:19 (2 by maintainers)

github_iconTop GitHub Comments

23reactions
bendehghancommented, Jan 5, 2022

Guys we are still waiting for this. Any update on your plans please??

19reactions
ruizmarccommented, Feb 1, 2022

@kamilkisiela thanks for you amazing work with this lib. Is there anything we can do to help on releasing apollo-angular v3 as stable version? Is there any stopper we can help with?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Angular 13 (peer) dependency error on npm install?
Install works with the --legacy-peer-deps flag but it sounds like that is not the correct way to install. I use npm v8.
Read more >
Dependency issue with 13.1.0 #22333 - GitHub
Got similar dependency error while upgrading to Angular 13 from 12, solved by using npm v6, and re-running ng update : npm i...
Read more >
NG0200: Circular dependency in DI detected while ... - Angular
Break this loop (or circle) of dependency to resolve this error. This most commonly means removing or refactoring the dependencies to not be...
Read more >
Unable to resolve dependency tree error in Angular while ...
To fix Unable to resolve dependency tree error in Angular while installing `npm` packages follow the below steps. 1.
Read more >
NPM complains about a dependency conflict : r/Angular2
Error upgrading from Angular 11 to Angular 12: NPM complains about a dependency conflict. Solved: Upgraded by running: npx @angular/cli@12 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found