[ x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Current behavior
just use simple code <countdown [config]="{ leftTime: 100, format: 'm:s' }"></countdown>
this bugs happen when I serve with "ng serve --prod", same problem after ng build --prod
RROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[n -> n]:
StaticInjectorError(Platform: core)[n -> n]:
NullInjectorError: No provider for n!
NullInjectorError: StaticInjectorError[n -> n]:
StaticInjectorError(Platform: core)[n -> n]:
NullInjectorError: No provider for n!
but everything work well when I run without --prod
Environment
Angular version: 8.2.4
ngx-countdown version: 9.0.1
Browser:
- [ x ] Chrome (desktop) version 84.0.4147.105 (Official Build) (64-bit)
- [ x ] Firefox version latest
- [ ] Safari (desktop) version
- [ x ] IE version
Bug Report or Feature Request
Current behavior
just use simple code
<countdown [config]="{ leftTime: 100, format: 'm:s' }"></countdown>
this bugs happen when I serve with "ng serve --prod", same problem after ng build --prodRROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n! NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n!
but everything work well when I run without --prod
Environment