I was trying to follow the instructions on the uploader at this link
https://ej2.syncfusion.com/16.1.37/angular/documentation/uploader/getting-started.html
However, if I use that code, I get the error
Type UploaderComponent in <path>node_modules/@syncfusion/ej2-ng-inputs/src/uploader/uploader.component.d.ts is part of the declarations of 2 modules: NioWidgetsModule in <path>/widgets.module.ts and UploaderModule in <path>/node_modules/@syncfusion/ej2-ng-inputs/src/uploader/uploader.module.d.ts!
If I modify the code to read
import { UploaderModule } from '@syncfusion/ej2-ng-inputs';
@NgModule({
imports: [CommonModule, UploaderModule],
then a build works just fine.
However, I am trying to wrap the uploaded in a angular library using v6 : when I import my wrapper into another project I get this error
ERROR in node_modules/@nodeableio/ngx-ui/lib/widgets/components/upload/upload.component.d.ts(2,26): error TS2307: Cannot find module '@syncfusion/ej2-base'.
node_modules/@nodeableio/ngx-ui/lib/widgets/components/upload/upload.component.d.ts(3,35): error TS2307: Cannot find module '@syncfusion/ej2-ng-inputs'.
what am I missing ?