valor-software / ng2-file-upload

Easy to use Angular components for files upload
http://valor-software.github.io/ng2-file-upload/
MIT License
1.91k stars 662 forks source link

Angular 5 Support #935

Open dosama opened 6 years ago

dosama commented 6 years ago

Is ng2-file-upload is supported in Angular 5 ??

ronnyek commented 6 years ago

It works just fine in angular5 from what I've seen

ScottSpittle commented 6 years ago

I'm getting an issue with AOT serve on ng5

ERROR in Error: Cannot determine the module for class FileDropDirective in /home/.../Code/.../node_modules/ng2-file-upload/file-upload/file-drop.directive.d.ts! 
Add FileDropDirective to the NgModule to fix it.

Cannot determine the module for class FileSelectDirective in /home/.../Code/.../node_modules/ng2-file-upload/file-upload/file-select.directive.d.ts! Add FileSelectDirective to the NgModule to fix 
IcodeNet commented 6 years ago

you have to import in the module that is using the fileuploader the import {FileSelectDirective} from 'ng2-file-upload'; import {FileDropDirective } from 'ng2-file-upload';

have a look at this https://stackoverflow.com/questions/45303404/angular-2-cant-bind-to-uploader-since-it-isnt-a-known-property-of-input?noredirect=1#comment77574329_45303404

ScottSpittle commented 6 years ago

In my case I updated NPM and it all worked fine

AhHa45 commented 6 years ago

Please write it in the description resp. README.md

sachin7254 commented 6 years ago

Yes, i tried it with Angular5 its working fine

thorsten commented 6 years ago

It works fine on Angular v5.2.3