matheusdavidson / angular-cropperjs

CropperJS integration for Angular +6
MIT License
109 stars 69 forks source link

cropperjs module is not found #31

Closed tejnarayan831 closed 2 years ago

tejnarayan831 commented 5 years ago

After running ,the command below: npm run build

I am getting this issue:

Error in node_modules/angular-cropperjs/lib/cropper/cropper.component.d.ts: can't find module cropperjs

Please help me out to resolve the issue,Thank you in advance.

nkCreation commented 5 years ago

resolved by doing npm install cropperjs from my side. but the doc is not up to date apparently... and the readme is not correct anymore

frontr-uk commented 5 years ago

@nkCreation can you explain more as I have the same issue.

Erwol commented 5 years ago

@frontr-uk this package depends on https://github.com/fengyuanchen/cropperjs. You will first have to install cropperjs to make this work. Docs should be updated.

matheusdavidson commented 5 years ago

Hi all, i will update the docs, a warning should appear in npm install showing peer dependencies thow

ghost commented 5 years ago

Why must we manual install the cropperjs lib manually ? It is part of the dependencies of this library.

malikadilofficial commented 2 years ago

Resolved just run command in terminal: npm i cropperjs