leewinder / ng2-file-drop

An Angular module for simple desktop file drag and drop with automatic file validation and dynamic style adjustment.
MIT License
28 stars 26 forks source link

ERROR in Template parse errors: Can't bind to 'fileContextInputs' #21

Closed Nocturnal316 closed 7 years ago

Nocturnal316 commented 7 years ago

Hi I just changed my project to Angular 4 and I'm attempting to build AoT. When I do I get the following error.

ERROR in Template parse errors: Can't bind to 'fileContextInputs' since it isn't a known property of 'div'. (" (fileOver)="fileOverBase($event)" [uploader]="uploader" [ERROR ->][fileContextInputs]="fileContextInput" class="well file-drop-zone"> "): ng://pages/data-loader/components/file-selector/file-selector.html@9:16 Can't bind to 'fileContextInputs' since it isn't a known property of 'input'. ("2FileSelect [uploader]="uploader" [ERROR ->][fileContextInputs]="fileContextInput" webkitdirectory directory mul"): ng:///pages/data-loader/components/file-selector/file-selector.html@25:32 Can't bind to 'fileContextInputs' since it isn't a known property of 'input'. ("2FileSelect [uploader]="uploader" [ERROR ->][fileContextInputs]="fileContextInput"/> </label> "): ng:////pages/data-loader/components/file-selector/file-selector.html@38:32

is ng2-file-drop not compatible with Angular 4? it works fine when doing a regular npm start. but any attempt to build prod throws this error.