You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When NgxMaskModule.forRoot() is missing in app.module.ts or inside a .spec.ts file the error message displayed is not very helpful in identifying what the issue is.
ERROR NullInjectorError: R3InjectorError()[InjectionToken config -> InjectionToken config -> InjectionToken config -> InjectionToken config]:
NullInjectorError: No provider for InjectionToken config!
Please consider renaming InjectionToken('config') to InjectionToken('ngxmask-config') or similar in the following
export const config: InjectionToken = new InjectionToken('config');
The text was updated successfully, but these errors were encountered:
🚀 feature request
Description
When NgxMaskModule.forRoot() is missing in app.module.ts or inside a .spec.ts file the error message displayed is not very helpful in identifying what the issue is.
ERROR NullInjectorError: R3InjectorError()[InjectionToken config -> InjectionToken config -> InjectionToken config -> InjectionToken config]:
NullInjectorError: No provider for InjectionToken config!
Please consider renaming InjectionToken('config') to InjectionToken('ngxmask-config') or similar in the following
export const config: InjectionToken = new InjectionToken('config');
The text was updated successfully, but these errors were encountered: