bcabanes / angular-image-cropper

AngularJS directive for cropping images.
124 stars 62 forks source link

I cannot find angular-image-cropper.js file instead i found imageCropper.js #46

Open vjayanth opened 8 years ago

vjayanth commented 8 years ago

when i import imageCropper.js file to admin.jsp it is showing imageCropper.js:1 Uncaught ReferenceError: module is not defined error.

how to fix this error ?

rickerd commented 8 years ago

EDIT

I think i know why its not working. The files are for Browserify i think. So they still need to be processed. Is it an idea to include the dist files already? In this way its easier for Grunt to just include the source (.dist) and run the application.

The only thing for you @bcabanes to do is Browserify it and make a dist folder with the files and commit and push them.


Im having the same issue... i think i don't have some dependency installed or required. Can you help out a little @bcabanes If i get it working i can update the README.md so everybody won't have to ask it again.

FDIM commented 8 years ago

Same issue, this library seems to be no longer compatible with other build systems. Doesn't make sense for me to rework whole build just to do it in slightly different way - Looks like I'll be using my older fork

rickerd commented 8 years ago

The baddest of all is that we're forced to work with Browserify instead of ommiting the dist with it. It makes it so much easier. I don't know Browserify either. And 22 days since i said something about it. But the repo owner doesn't say a word.

FDIM commented 8 years ago

Thats the downside of open source :)

astronati commented 7 years ago

👍 Needed a minified version of the library