bergben/ng2-img-max

I am getting error "{resizedFile: File, reason: TypeError: Cannot read property 'resizeCanvas' of undefined at http://localhost:4200/vendor.bund…, error: "PICA_ERROR"}"

reactionic27 opened this issue · 8 comments

when I try to resize the image using this module I am getting error like this.
{resizedFile: File, reason: TypeError: Cannot read property 'resizeCanvas' of undefined at http://localhost:4200/vendor.bund…, error: "PICA_ERROR"}
Anybody can help this problem?
Regards.

Same problem

same problem

Should be fixed now.

YEAHHHHHHHH!!!!!!!!! Thanks you. I'm confusing one day and don't know what to do, I don't want to any else lib except your. I only get this error on resizing, after I install alot of module, i found this:

image
and this line:
image

deadlock at here, don't know what to do anything else

@bergben
Thanks. It is working fine on my side.
I reinstalled the module and running my app and it is working properly.
Thanks for your help.
Regards.

@reactionic127 what did you do ? just reinstalled it ??!! I did a fresh install too but why i got this error ?

@hiepxanh
I reinstalled this module using "npm install ng2-img-max --save"
and run "ng serve" on my app.
And it is working properly on my side.

I already uninstall, not resolve problem, still get error
image