deej81 / ngx-croppie

16 stars 23 forks source link

__WEBPACK_IMPORTED_MODULE_1_croppie___default.a is not a constructor #6

Closed bromike closed 6 years ago

bromike commented 6 years ago

Hi,

I tried using the component inside my angular project, however I keep getting the error: __WEBPACK_IMPORTED_MODULE_1_croppie___default.a is not a constructor.

It seems to come from ngx-croppie.component.js when creating a new Croppie

deej81 commented 6 years ago

Hi, the issue is linked to this https://github.com/deej81/ngx-croppie/issues/5 . For now if you can you can work around by using the previous version of croppie (2.5.1) I believe.

deej81 commented 6 years ago

resolved in 1.0.0 although this release won't support older versions as the fix is pretty horrible