Closed johannesjo closed 10 years ago
I have the following configuartion
{ "version": "0.1.1", "project-type": "static-html", "repository": {}, "devDependencies": { "async": "^0.9.0", "glob": "^3.2.7", "grunt": "0.4.4", "grunt-autoprefixer": "~1.0.0", "grunt-bower-install": "^1.4.0", "grunt-compile-handlebars": "^0.8.0", "grunt-concurrent": "^0.5.0", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-concat": "^0.5.0", "grunt-contrib-connect": "^0.8.0", "grunt-contrib-copy": "^0.5.0", "grunt-contrib-cssmin": "^0.10.0", "grunt-contrib-jshint": "^0.8.0", "grunt-contrib-uglify": "^0.5.1", "grunt-contrib-watch": "^0.6.1", "grunt-listfiles": "^0.1.4", "grunt-newer": "^0.7.0", "grunt-spritesmith": "^2.1.1", "grunt-string-replace": "^0.2.7", "grunt-usemin": "^2.3.0", "jit-grunt": "^0.8.0", "matchdep": "^0.3.0", "queue-async": "^1.0.7", "time-grunt": "^0.2.5" }, "dependencies": { "grunt-sauce-screenshots": "^0.2.0" } }
When I try to install the package via npm install grunt-contrib-imagemin --save-dev I get the following errors:
npm install grunt-contrib-imagemin --save-dev
http 304 https://registry.npmjs.org/hoek http 304 https://registry.npmjs.org/underscore info trying registry request attempt 1 at 23:27:22 http GET https://registry.npmjs.org/async http 304 https://registry.npmjs.org/async > jpegtran-bin@0.2.8 postinstall /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin > node index.js ✔︎ pre-build test passed successfully! > gifsicle@0.1.7 postinstall /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle > node index.js ✔︎ pre-build test passed successfully! > pngquant-bin@0.3.5 postinstall /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin > node index.js ✔︎ pre-build test passed successfully! > optipng-bin@0.3.11 postinstall /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin > node index.js ✔︎ pre-build test passed successfully! npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-uglify/node_modules/maxmin requires chalk@'^0.5.0' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-uglify/node_modules/chalk, npm WARN unmet dependency which is version 0.5.1 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle requires image-type@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/image-type, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran requires image-type@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/image-type, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng requires image-type@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/image-type, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant requires image-type@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/image-type, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-build/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress requires tempfile@'^0.1.2' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/tempfile, npm WARN unmet dependency which is version 0.1.3 npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/extname requires map-key@'^0.1.1' but will load npm WARN unmet dependency /home/user/folder/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress/node_modules/map-key, npm WARN unmet dependency which is version 0.1.4 npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer grunt-sauce-screenshots@0.2.0 wants grunt@~0.4.2 npm ERR! peerinvalid Peer grunt-contrib-copy@0.5.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-listfiles@0.1.4 wants grunt@~0.4.1 npm ERR! peerinvalid Peer jit-grunt@0.8.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-clean@0.6.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-newer@0.7.0 wants grunt@~0.4.1 npm ERR! peerinvalid Peer grunt-string-replace@0.2.7 wants grunt@~0.4.1 npm ERR! peerinvalid Peer grunt-concurrent@0.5.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-usemin@2.3.0 wants grunt@>=0.4.0 npm ERR! peerinvalid Peer grunt-contrib-concat@0.5.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-autoprefixer@1.0.0 wants grunt@~0.4.2 npm ERR! peerinvalid Peer grunt-bower-install@1.6.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-jshint@0.8.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-watch@0.6.1 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-connect@0.8.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-cssmin@0.10.0 wants grunt@~0.4.1 npm ERR! peerinvalid Peer grunt-contrib-uglify@0.5.1 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-compile-handlebars@0.8.0 wants grunt@~0.4.0 npm ERR! peerinvalid Peer grunt-contrib-imagemin@0.7.1 wants grunt@^0.4.0 npm ERR! System Linux 3.13.0-24-generic npm ERR! command "node" "/opt/node/bin/npm" "install" "grunt-contrib-imagemin" "--save-dev" npm ERR! cwd /home/user/folder npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.21 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/user/folder/npm-debug.log npm ERR! not ok code 0 ``'
Fixed in 0.7.2 https://www.npmjs.org/package/grunt-contrib-imagemin
I have the following configuartion
When I try to install the package via
npm install grunt-contrib-imagemin --save-dev
I get the following errors: