Home > Enterprise >  Cant import from non EcmaScript module in angular
Cant import from non EcmaScript module in angular

Time:01-07

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!!

CodePudding user response:

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

CodePudding user response:

This issue was resolved with npm ci

  •  Tags:  
  • Related