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 8

See original GitHub issue

Issue description

running npm install throws the following warning:

npm WARN ngx-ui-switch@8.0.1 requires a peer of @angular/core@>=5.0.0 <8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-ui-switch@8.0.1 requires a peer of @angular/common@>=5.0.0 <8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-ui-switch@8.0.1 requires a peer of @angular/forms@>=5.0.0 <8.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 8

Current behavior

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

Expected/desired behavior

No warnings should be shown

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
cmckni3commented, May 29, 2019

Until then ngx-ui-switch should still function properly outside of the peer dependency warnings.

0reactions
cmckni3commented, May 31, 2019

It’s solved, checkout:

npm install ngx-ui-switch@8.1.0 --save

yep, forgot to mention I released 8.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular update from 8 to 13 peer dependency problem
Found 61 dependencies. ... Package "@swimlane/ngx-charts" has an incompatible peer dependency to "@angular/animations" (requires "7.x || 8.x" ( ...
Read more >
Extend peer dependencies to Angular 8 · Issue #492 - GitHub
running npm install throws the following warning: npm WARN ngx-uploader@7.1.0 requires a peer of @angular/common@^7.1.4 but none is installed.
Read more >
Creating libraries - Angular
Peer dependencies link. Angular libraries should list any @angular/* dependencies the library depends on as peer dependencies. This ensures that when modules ask ......
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 >
Upgrade Angular App to latest version - Medium
0 <8" (extended), would install "11.1.1"). × Migration failed: Incompatible peer dependencies found. You can use the '–force' flag to ignore ...
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