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.

Extend peer dependencies to Angular 7 and Angular 8

See original GitHub issue

Issue description

running npm install throws the following warning:

npm WARN @agm/core@1.0.0-beta.5 requires a peer of @angular/common@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @agm/core@1.0.0-beta.5 requires a peer of @angular/core@^5.0.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself

Steps to reproduce and a minimal demo of the problem

npm install with Angular 7 or Angular 8

Current behavior

npm install shows a couple of warning due to peer dependencies.

Expected/desired behavior

No warnings should be shown

angular2 & angular-google-maps version

@agm/core@1.0.0-beta.5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:106
  • Comments:34 (2 by maintainers)

github_iconTop GitHub Comments

24reactions
lazarljubenoviccommented, Nov 14, 2018

Please use GitHub’s upvoting feature instead of pinging everyone by email.

17reactions
SlimenTNcommented, Oct 19, 2018

I’m getting this error too Pls add support for Angular7, there is no big difference between v6 and v7, and you already have support for v6 and make sure to update codelyzer package to 4.5.0 to work with Angular 7 too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extend peer dependencies to Angular 7 and Angular 8 #1533
npm install shows a couple of warning due to peer dependencies. Expected/desired behavior. No warnings should be shown. angular2 & angular- ...
Read more >
Angular update from 8 to 13 peer dependency problem
Package "@swimlane/ngx-charts" has an incompatible peer dependency to "@angular/animations" (requires "7.x || 8.x" (extended), would install " ...
Read more >
Creating libraries - Angular
Angular libraries should list any @angular/* dependencies the library depends on as peer dependencies. This ensures that when modules ask for Angular, they...
Read more >
Upgrade Angular App to latest version - Medium
0 <8" (extended), would install "11.1.1"). Package "codelyzer" has an incompatible peer dependency to "@angular/compiler" (requires ">=2.3.1 < ...
Read more >
Upgrading Angular versions has to be the most frustrating ...
Package "@fortawesome/angular-fontawesome" has an incompatible peer dependency to "@angular/core" (requires "^11.0.0" (extended), would install ...
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