pIvan / file-upload

drag and drop file component
MIT License
87 stars 12 forks source link

iplab-ngx-file-upload.d.ts has no selector, please add it! #51

Closed CryHenry closed 3 years ago

CryHenry commented 3 years ago

Great Module. Works well...except...

I can debug, but when trying to build for production I get this error...

ERROR in Directive ɵa in D:/xampp7/htdocs/varive.app/node_modules/@iplab/ngx-file-upload/iplab-ngx-file-upload.d.ts has no selector, please add it! Cannot determine the module for class ɵa in D:/xampp7/htdocs/varive.app/node_modules/@iplab/ngx-file-upload/iplab-ngx-file-upload.d.ts! Add ɵa to the NgModule to fix it.

CryHenry commented 3 years ago

For those who come after me...I am using Angular 8 and seems rolling back to version 1.5.3 of the ngx-file-upload has solved the issue.

pIvan commented 3 years ago

Hi, @CryHenry on which version you had an issue with the selector?

CryHenry commented 3 years ago

Hi mate,

V2.0.4 had the issue for me running under Angular 8.

pIvan commented 3 years ago

Yes version 2.0.0 is compatible with angular 9.0.0 || 10.0.0 || 11.0.0, for older version as you mentioned angular 8 it is 1.0.0

Thanks, @CryHenry for pointing that out