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 ng-pick-datetime@7.0.0 requires a peer of @angular/cdk@^7.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:open
  • Created 4 years ago
  • Reactions:32
  • Comments:20

github_iconTop GitHub Comments

14reactions
jorgemotacommented, Jun 18, 2019

Maybe it’s because in my version the OwlMomentDateTimeModule is part of @busacca/ng-pick-datetime instead of and external package?

Your’re using the following import? import { OwlDateTimeModule, OwlMomentDateTimeModule } from '@busacca/ng-pick-datetime';

For anyone interested in using this picker move to @dbusacca version, And import OwlMomentDateTimeModule from ‘@busacca/ng-pick-datetime’; instead of @DanielYKPan package.

All works like a charm.

2reactions
dbusaccacommented, Jun 18, 2019

Maybe it’s because in my version the OwlMomentDateTimeModule is part of @busacca/ng-pick-datetime instead of and external package?

Your’re using the following import? import { OwlDateTimeModule, OwlMomentDateTimeModule } from '@busacca/ng-pick-datetime';

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
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
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
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