Angular 2: Can't bind to 'uploader' since it isn't a known property of 'input'
You need to import FileUploadModule
in the module that declares the component using 'upload'
which in your case would be category-items.module.ts
category-items.module.ts
import { CategoryItemsComponent } from './category-items.component';
import { FileUploadModule } from "ng2-file-upload"; //Should import HERE
imports: [ ...FileUploadModule ... ] //RIGHT PLACE
add to app.module.ts this
import { FileSelectDirective } from 'ng2-file-upload';
@NgModule({
imports: [
...
],
declarations: [
FileSelectDirective
],
providers: [
...
],
bootstrap: [
App,
],
})
https://github.com/valor-software/ng2-file-upload/issues/418#issuecomment-249865170
Or try to import FIleUploadModule to an each parent module
import { FIleUploadModule } from 'ng2-file-upload';
imports: [
FIleUploadModule,
..........,
........,
......,
]
It should work.