I have used img-cropper twice in different route but there seems to be an error showed like this:
Error: Type ImageCropperComponent is part of the declarations of 2 modules: UserProfileModule and OrganizationModule! Please consider moving ImageCropperComponent to a higher module that imports UserProfileModule and OrganizationModule. You can also create a new NgModule that exports and includes ImageCropperComponent then import that NgModule in UserProfileModule and OrganizationModule.
I have used img-cropper twice in different route but there seems to be an error showed like this:
Error: Type ImageCropperComponent is part of the declarations of 2 modules: UserProfileModule and OrganizationModule! Please consider moving ImageCropperComponent to a higher module that imports UserProfileModule and OrganizationModule. You can also create a new NgModule that exports and includes ImageCropperComponent then import that NgModule in UserProfileModule and OrganizationModule.
Help me please.