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.

Update dependencies for angular 8 support

See original GitHub issue

@DanielYKPan could you please update dependencies to support Angular 8?

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.
npm WARN ng-pick-datetime-moment@1.0.8 requires a peer of @angular/animations@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng-pick-datetime-moment@1.0.8 requires a peer of @angular/common@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng-pick-datetime-moment@1.0.8 requires a peer of @angular/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ng-pick-datetime-moment@1.0.8 requires a peer of @angular/forms@^7.0.0 but none is installed. You must install peer dependencies yourself.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:22
  • Comments:17

github_iconTop GitHub Comments

11reactions
Anzil-Aufaitcommented, Oct 14, 2019

Any update on this ???

i’m getting this error :

CreateVoucherListComponent.html:49 ERROR NullInjectorError: StaticInjectorError(AppModule)[DateTimeAdapter -> InjectionToken OWL_MOMENT_DATE_TIME_ADAPTER_OPTIONS]: 
StaticInjectorError(Platform: core)[DateTimeAdapter -> InjectionToken OWL_MOMENT_DATE_TIME_ADAPTER_OPTIONS]: 
NullInjectorError: No provider for InjectionToken OWL_MOMENT_DATE_TIME_ADAPTER_OPTIONS!

Hi quys, I found the solution for this StaticInjectorError. Thanks to @ce-page solution.

import OwlMomentDateTimeModule directly like this :

import { OwlMomentDateTimeModule } from ‘ng-pick-datetime/date-time/adapter/moment-adapter/moment-date-time.module’;

Instead of this :

import { OwlMomentDateTimeModule } from ‘ng-pick-datetime-moment’;

Thank You.

9reactions
vixisoftcommented, Jul 22, 2019

@DanielYKPan are you abandonning this package?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ng update - Angular
Updates your workspace and its dependencies. ... ng update @angular/cli @angular/core ... Shows a help message for this command in the console. boolean....
Read more >
Angular Update Guide
Select the options that match your update · Angular versions · Application complexity · Other dependencies.
Read more >
Guide to update your Angular application v8.1 -> v9.0 for ...
Update to the new version ... Review these changes and perform the actions to update your application. Make sure you are using Node...
Read more >
Guide to update your Angular application v8.2 -> v12.0 for ...
Run NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@8 update @angular/core@8 @angular/cli@8 in your workspace directory to update to the latest 8.x version of @ ...
Read more >
Guide to update your Angular application v5.2 -> v6.1 for basic ...
Update all of your Angular framework packages to v6, and the correct version of RxJS and TypeScript. NG_DISABLE_VERSION_CHECK=1 npx @angular/cli@6 update @ ...
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