Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Invalid arguments #189

Closed
tcditgens opened this issue Apr 1, 2014 · 6 comments
Closed

Fatal error: Invalid arguments #189

tcditgens opened this issue Apr 1, 2014 · 6 comments

Comments

@tcditgens
Copy link

While compressing png files with option "pngquant: true" it fails after an irregular number of png's.

I use v0.6.0 with these options:

png: {
    files: [{
        expand: true,
        cwd: '<%= res %>/rawimages',
        src: ['**/*.png'],
        dest: '<%= res %>/images'
    }],
    options: {
        pngquant: true
    }
}

Sometimes it walks through after three or four times...

@tcditgens
Copy link
Author

BTW my png's are checked by pngcheck before.

@molant
Copy link

molant commented Apr 13, 2014

This is happening too in my side :(

@tigerclaw-az
Copy link

+1 Need this fixed

@kevva
Copy link
Member

kevva commented Apr 23, 2014

Test and see if it works from the dev version:

$ npm install https://github.com/kevva/grunt-contrib-imagemin/archive/imagemin.tar.gz

@sindresorhus
Copy link
Member

Is this still an issue with 0.7.0?

@kevva
Copy link
Member

kevva commented Oct 23, 2014

Closing due to inactivity. Feel free to open if you're still experiencing this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants