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.

@agm/core@1.1.0 has incorrect peer dependency with Angular 9

See original GitHub issue

Issue description Build gets the following warnings:

warning " > @agm/core@1.1.0" has incorrect peer dependency "@angular/common@^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > @agm/core@1.1.0" has incorrect peer dependency "@angular/core@^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > @agm/js-marker-clusterer@1.1.0" has incorrect peer dependency "@angular/core@^6.0.0 || ^7.0.0 || ^8.0.0".

Steps to reproduce and a minimal demo of the problem Build @agm/core@1.1.0 and @agm/js-marker-clusterer@1.1.0 with Angular v9

Current behavior Gets the above listed warnings.

Expected/desired behavior No warnings.

angular-google-maps, Angular, & any other relevant dependency versions

Other information Should be straightforward!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:17
  • Comments:6

github_iconTop GitHub Comments

8reactions
Cr0up13rcommented, May 12, 2020

same issue here, any updates?

@agm/core@1.1.0 requires a peer of @angular/common@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
@agm/core@1.1.0 requires a peer of @angular/core@^6.0.0 || ^7.0.0 || ^8.0.0 but none is installed. You must install peer dependencies yourself.
2reactions
ghostcommented, Jul 3, 2020

yes, new version shoud fix it #1833

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incompatible peer dependencies found - upgrading Angular ...
Looks like you glanced over one of the errors: Package "@ngtools/webpack" has an incompatible peer dependency to "typescript" (requires ...
Read more >
ng upgrade: incompatible peer dependency error prevents ...
I'm running into this issue as well, seems the updater is trying to install typescript@2.8.3 but @angular/compiler-cli has a peer dependency of ...
Read more >
npm Peer Dependencies - JavaScript inDepth
Peer Dependencies are used to specify that our package is compatible with a specific version of an npm package. Good examples are Angular...
Read more >
Update to Angular 11 Version - Angular Wiki
Package "codelyzer" has an incompatible peer dependency to "@angular/compiler" (requires ">=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 ...
Read more >
tslib direct dependency migration - Angular
If you have any libraries within your workspace, this migration will convert tslib peer dependencies to direct dependencies for the libraries.
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