Angular 5 Support #935

Open
opened 2017-11-30 12:33:01 +00:00 by dosama · 7 comments
dosama commented 2017-11-30 12:33:01 +00:00 (Migrated from github.com)

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

Is ng2-file-upload is supported in Angular 5 ??
ronnyek commented 2017-11-30 17:36:28 +00:00 (Migrated from github.com)

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

It works just fine in angular5 from what I've seen
ScottSpittle commented 2017-12-06 12:06:53 +00:00 (Migrated from github.com)

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 
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 2017-12-07 15:22:26 +00:00 (Migrated from github.com)

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

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 2017-12-07 16:42:41 +00:00 (Migrated from github.com)

In my case I updated NPM and it all worked fine

In my case I updated NPM and it all worked fine
AhHa45 commented 2018-01-29 07:30:57 +00:00 (Migrated from github.com)

Please write it in the description resp. README.md

Please write it in the description resp. README.md
sachin7254 commented 2018-02-07 12:24:44 +00:00 (Migrated from github.com)

Yes, i tried it with Angular5 its working fine

Yes, i tried it with Angular5 its working fine
thorsten commented 2018-02-08 08:56:06 +00:00 (Migrated from github.com)

It works fine on Angular v5.2.3

It works fine on Angular v5.2.3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#935