0

enter image description here

I am using ngx-image-cropper dependency and I don't know why this error is coming whenever I import it in my app.component.module.ts in angular.

Trying to solve this issue from 3 hours but unable to!!

Tanishka Bansal
  • 49
  • 1
  • 10

1 Answers1

-1

Remove the node modules

rm -rf node_modules

And npm install again and it works properly.

for more information check this link: https://github.com/Mawi137/ngx-image-cropper/issues/282

Souhail HARRATI
  • 303
  • 2
  • 7
  • I did this and then it worked for ngx-image-cropper but started showing the same error for other dependency as ngx-extended-pdf-viewer – Tanishka Bansal Jan 07 '22 at 06:57