NullInjectorError: No provider for InjectionToken TimeLocale!
See original GitHub issueIssue Description
I’m trying your example on my Angular (v9) project and I’m facing this error :
ERROR NullInjectorError: R3InjectorError(AppModule)[InjectionToken TimeLocale -> InjectionToken TimeLocale -> InjectionToken TimeLocale]:
NullInjectorError: No provider for InjectionToken TimeLocale!
The code :
<div class="24hr-example">
<input placeholder="24hr format" aria-label="24hr format" [ngxTimepicker]="fullTime"
[format]="24" readonly>
<ngx-material-timepicker #fullTime></ngx-material-timepicker>
</div>
Am I missing something ?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
angular - NullInjectorError: No provider for InjectionToken ...
This error is telling you that it is not finding in the app.component.spec.ts file the provider DEFAULT_LOCALE. What you need to do is....
Read more >Getting "Nullinjectorerror: No Provider For Injectiontoken Okta ...
Issue resolution for error like Angular: NullInjectorError No provider for HttpClient in Angular application. Angular HTTP GET PUT POST and ...
Read more >NG0201: No provider for {token} found! - Angular
You see this error when you try to inject a service but have not declared a corresponding provider. A provider is a mapping...
Read more >https://raw.githubusercontent.com/Agranom/ngx-mate...
... fix(ngx-material-timepicker.module): fix NullInjectorError: No provider for InjectionToken TimeLocale for lazy loaded modules, ...
Read more >No provider for InjectionToken IgxDropDownBaseToken!
NullInjectorError : No provider for InjectionToken IgxDropDownBaseToken! Jean-Paul Saade posted over 1 year ago.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Should be fixed in v5.5.2. Could you check pls?
I have to figure it out