Skip to content

Task throws error on jpegoptim #17

@avaly

Description

@avaly

Using v0.2.2 I get the following error when trying to run a jpgmin task:

timers.js:103
            if (!process.listeners('uncaughtException').length) throw e;
                                                                      ^
Error: ENOENT, no such file or directory 'temp/jpgmin/img/patterns/body.jpg'
    at Object.fs.openSync (fs.js:338:18)
    at Object.fs.readFileSync (fs.js:182:15)
    at Object.module.exports.grunt.registerHelper.processNextTool [as _onTimeout] (/home/dev/sites/web/node_modules/grunt-imagine/tasks/helper.js:194:59)
    at Timer.list.ontimeout (timers.js:101:19)

I only have jpegoptim installed. The output file from the first jpegoptim run is not generated.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions