I installed a package "ngx-custom-validator" to my project (Angular 11) it is working properly.
After I have upgraded my project to Angular 12, Now I am facing the problems with "ngx-custom-validator"
Error below:
_Namespace '"***/node_modules/ngx-custom-validators/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.
AND
4257 static ɵmod: ɵngcc0.ɵɵNgModuleDeclaration<ɵInternalFormsSharedModule, [typeof ɵNgNoValidate, typeof NgSelectOption, typeof ɵNgSelectMultipleOption, typeof DefaultValueAccessor,typeof NumberValueAccessor, typeof RangeValueAccessor, typeof CheckboxControlValueAccessor, typeof SelectControlValueAccessor, typeof SelectMultipleControlValueAccessor, typeof RadioControlValueAccessor, typeof NgControlStatus, typeof NgControlStatusGroup, typeof RequiredValidator, typeof MinLengthValidator, typeof MaxLengthValidator, typeof PatternValidator, typeof CheckboxRequiredValidator, typeof EmailValidator], never, [typeof ɵNgNoValidate, typeof NgSelectOption, typeof ɵNgSelectMultipleOption, typeof DefaultValueAccessor, typeof NumberValueAccessor, typeof RangeValueAccessor, typeof CheckboxControlValueAccessor, typeof SelectControlValueAccessor, typeof SelectMultipleControlValueAccessor, typeof RadioControlValueAccessor, typeof NgControlStatus, typeof NgControlStatusGroup, typeof RequiredValidator, typeof MinLengthValidator, typeof MaxLengthValidator, typeof PatternValidator, typeof CheckboxRequiredValidator, typeofEmailValidator]>;
I think the recent developer who use this package also have this problems too, if any solution please share.
Thank in advance
The issue that your are facing now is internally related to ngx-custom-validators lib. I Suggest you to follow this issue here https://github.com/rsaenen/ngx-custom-validators/issues/60 to get a fix or a workaround.