imagemin / jpegtran-bin

jpegtran bin-wrapper that makes it seamlessly available as a local dependency
http://libjpeg-turbo.virtualgl.org
MIT License
93 stars 47 forks source link

Unhadled rejection Error: D:\GitHubSouce\sourcecode\SuperPersonal\node_modules\jpegtran-bin\vendorjpegtran.exe #76

Closed spade69 closed 8 years ago

spade69 commented 8 years ago

image

This problem happened, when i try to gulp images. I try to use imagemin to compress my images. This is my sourcecode gulp.task('images',function(){ return gulp.src('images/**/*.{png,jpg,gif,ico}') .pipe(cache(imagemin({optimizationLevel:5,progressive:true,interlaced:true}))) .pipe(gulp.dest('dist/assets/img')) .pipe(notify({message:'Images task complete'})); });

spade69 commented 8 years ago

Sorry, i solved this problem myself Just update or reinstall the 'jpegtran-bin' plugin . Then it works I think the version of my jpegtran-bin module is not match to the version of gulp-imagemin