Skip to content

grunt:build fails on imagemin task #765

@inicio

Description

@inicio

From a fresh build out of the generator and subsequent call to 'grunt-build' I'm getting this error:

Running "concurrent:dist" (concurrent) task
    Warning: Loading "imagemin.js" tasks...ERROR
    >> Error: Cannot find module 'imagemin-gifsicle'
    Warning: Task "imagemin" failed. Use --force to continue.

    Aborted due to warnings.


    Execution Time (2015-01-02 23:53:12 UTC)
    loading tasks  2.2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
    Total 2.2s Use --force to continue.

        Aborted due to warnings.

Removing the imagemin task will allow me to build the project successfully (but without the image directory). I've troubleshooted the problem by installing the dependency manually, using other versions of npm, and clearing npm's cache, but these attempts do not seem to fix the problem.

Might be similar to the error documented here (npm/npm#6051). Though I've followed all the suggestions without success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions