Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Cannot find module 'optipng-bin' #32

Open
monolithed opened this issue Sep 11, 2016 · 1 comment
Open

Cannot find module 'optipng-bin' #32

monolithed opened this issue Sep 11, 2016 · 1 comment

Comments

@monolithed
Copy link

monolithed commented Sep 11, 2016

➜ grunt serve:dist

running "concurrent:dist" (concurrent) task
    Warning: Running "imagemin:dist" (imagemin) task
    Warning: Cannot find module 'optipng-bin' Use --force to continue.

    Aborted due to warnings.
@ashb
Copy link

ashb commented Mar 10, 2017

This can be fixed by updating grunt-contrib-imagemine to ~1.0.1

diff --git a/package.json b/package.json
index b10b41f..6455036 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
     "grunt-contrib-copy": "~0.4.1",
     "grunt-contrib-cssmin": "~0.7.0",
     "grunt-contrib-htmlmin": "~0.1.3",
-    "grunt-contrib-imagemin": "~0.5.0",
+    "grunt-contrib-imagemin": "~1.0.1",
     "grunt-contrib-jshint": "~0.7.1",
     "grunt-contrib-uglify": "~0.2.0",
     "grunt-contrib-watch": "~0.5.2",

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

No branches or pull requests

2 participants