asciidisco/grunt-imagine

error trying to use imagine

Closed this issue · 3 comments

when I try to run grunt with imagine, I get this error

Loading "gifmin.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "helper.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "inlineImg.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "jpgmin.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "pngmin.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "pngnq.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined
Loading "sprites.js" tasks...ERROR
>> TypeError: Cannot read property '_' of undefined

any idea?

Hey,

yes, the plugin never made the transition to Grunt 0.4.0, what you see is the result of the API fro grunt.util to grunt.utils. Changing this might not solve all the problems, I believe that it would need some tweaks to work.
Unfortunately I recently changed jobs & now I have less to no time to take care of this little task anymore.
If anyone is interested in helping out, please ping me, I would love to add you as a maintainer & give you the rights to publish new versions to npm.

Fixed with #29