{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/282","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/282/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/282/events","html_url":"https://github.com/gruntjs/grunt-contrib-imagemin/issues/282","id":54073597,"number":282,"title":"unmet npm dependencies","user":{"login":"theofidry","id":5175937,"avatar_url":"https://avatars.githubusercontent.com/u/5175937?v=3","gravatar_id":"","url":"https://api.github.com/users/theofidry","html_url":"https://github.com/theofidry","followers_url":"https://api.github.com/users/theofidry/followers","following_url":"https://api.github.com/users/theofidry/following{/other_user}","gists_url":"https://api.github.com/users/theofidry/gists{/gist_id}","starred_url":"https://api.github.com/users/theofidry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theofidry/subscriptions","organizations_url":"https://api.github.com/users/theofidry/orgs","repos_url":"https://api.github.com/users/theofidry/repos","events_url":"https://api.github.com/users/theofidry/events{/privacy}","received_events_url":"https://api.github.com/users/theofidry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-12T16:24:25Z","updated_at":"2015-07-02T08:44:35Z","closed_at":"2015-01-12T16:40:54Z","body":"I have a big trouble with npm dependencies when i add the Grunt imagemin plugin.\r\n\r\nHere is log of a `npm update` when I add the `grunt-contrib-imagemin` package to my `package.json`:\r\n\r\n```bash\r\n$ npm update\r\ngrunt-contrib-symlink@0.3.0 node_modules/grunt-contrib-symlink\r\njquery-autosize@1.18.17 node_modules/jquery-autosize\r\nfastclick@1.0.3 node_modules/fastclick\r\nuglifycss@0.0.11 node_modules/uglifycss\r\nnpm WARN engine imagemin@3.1.0: wanted: {\"node\":\">=0.10.0\",\"npm\":\">=2.1.5\"} (current: {\"node\":\"0.10.35\",\"npm\":\"1.4.28\"})\r\nbootstrap-markdown@2.8.0 node_modules/bootstrap-markdown\r\ngrunt-contrib-clean@0.6.0 node_modules/grunt-contrib-clean\r\n└── rimraf@2.2.8\r\ngrunt-contrib-sass@0.8.1 node_modules/grunt-contrib-sass\r\n├── dargs@2.1.0\r\n├── win-spawn@2.0.0\r\n├── which@1.0.8\r\n├── async@0.9.0\r\n└── chalk@0.5.1 (supports-color@0.2.0, escape-string-regexp@1.0.2, ansi-styles@1.1.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\ngrunt-shell@1.1.1 node_modules/grunt-shell\r\n└── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)\r\nselect2@3.5.1 node_modules/select2\r\nbootbox.js@4.3.0 node_modules/bootbox.js\r\nanimate.css@3.1.1 node_modules/animate.css\r\ngrunt-contrib-copy@0.7.0 node_modules/grunt-contrib-copy\r\n└── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)\r\nvaguejs@0.0.5 node_modules/vaguejs\r\ndropzone@3.12.0 node_modules/dropzone\r\n└── emitter-component@1.1.1\r\nfont-awesome@4.2.0 node_modules/font-awesome\r\nuglify-js@2.4.16 node_modules/uglify-js\r\n├── uglify-to-browserify@1.0.2\r\n├── async@0.2.10\r\n├── optimist@0.3.7 (wordwrap@0.0.2)\r\n└── source-map@0.1.34 (amdefine@0.1.0)\r\ngrunt-contrib-coffee@0.12.0 node_modules/grunt-contrib-coffee\r\n├── uri-path@0.0.2\r\n├── chalk@0.5.1 (supports-color@0.2.0, escape-string-regexp@1.0.2, ansi-styles@1.1.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\n├── coffee-script@1.8.0 (mkdirp@0.3.5)\r\n└── lodash@2.4.1\r\nbootstrap-sass@3.3.1 node_modules/bootstrap-sass\r\nmoment@2.9.0 node_modules/moment\r\njquery@2.1.3 node_modules/jquery\r\njquery-validation@1.13.1 node_modules/jquery-validation\r\ngrunt-contrib-watch@0.6.1 node_modules/grunt-contrib-watch\r\n├── async@0.2.10\r\n├── tiny-lr-fork@0.0.5 (debug@0.7.4, faye-websocket@0.4.4, noptify@0.0.3, qs@0.5.6)\r\n├── gaze@0.5.1 (globule@0.1.0)\r\n└── lodash@2.4.1\r\njquery.event.swipe@0.5.4 node_modules/jquery.event.swipe\r\n├── jquery.event.move@1.3.6\r\n└── jquery@2.1.3\r\ngrunt@0.4.5 node_modules/grunt\r\n├── which@1.0.8\r\n├── dateformat@1.0.2-1.2.3\r\n├── eventemitter2@0.4.14\r\n├── getobject@0.1.0\r\n├── rimraf@2.2.8\r\n├── colors@0.6.2\r\n├── async@0.1.22\r\n├── grunt-legacy-util@0.2.0\r\n├── hooker@0.2.3\r\n├── exit@0.1.2\r\n├── nopt@1.0.10 (abbrev@1.0.5)\r\n├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)\r\n├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)\r\n├── lodash@0.9.2\r\n├── coffee-script@1.3.3\r\n├── underscore.string@2.2.1\r\n├── iconv-lite@0.2.11\r\n├── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4)\r\n├── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)\r\n└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)\r\n-\r\n> optipng-bin@2.0.4 postinstall /Path/to/project/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin\r\n> node lib/install.js\r\n\r\ngrunt-cli@0.1.13 node_modules/grunt-cli\r\n├── resolve@0.3.1\r\n├── nopt@1.0.10 (abbrev@1.0.5)\r\n└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)\r\njquery.event.move@1.3.6 node_modules/jquery.event.move\r\n└── jquery@2.1.3\r\nbootstrap@3.3.1 node_modules/bootstrap\r\njquery-ui-browserify@1.11.0-pre-seelio node_modules/jquery-ui-browserify\r\n  ✔ optipng pre-build test passed successfully\r\n\r\n> gifsicle@2.0.1 postinstall /Path/to/project/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle\r\n> node lib/install.js\r\n\r\n  ✔ gifsicle pre-build test passed successfully\r\n\r\n\r\n> pngquant-bin@2.0.3 postinstall /Path/to/project/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin\r\n> node lib/install.js\r\n\r\n  ✔ pngquant pre-build test passed successfully\r\n\r\n> jpegtran-bin@2.0.2 postinstall /Path/to/project/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin\r\n> node lib/install.js\r\n\r\n  ✔ jpegtran pre-build test passed successfully\r\ngrunt-contrib-imagemin@0.9.2 node_modules/grunt-contrib-imagemin\r\n├── pretty-bytes@1.0.2 (get-stdin@1.0.0)\r\n├── async@0.9.0\r\n├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)\r\n└── imagemin@3.1.0 (get-stdin@3.0.2, optional@0.1.2, vinyl@0.4.6, stream-combiner@0.2.1, meow@2.1.0, through2@0.6.3, concat-stream@1.4.7, vinyl-fs@0.3.13, imagemin-svgo@4.0.1, imagemin-optipng@4.0.0, imagemin-gifsicle@4.0.0, imagemin-pngquant@4.0.0, imagemin-jpegtran@4.0.0)\r\n```\r\n\r\nversus without:\r\n```bash\r\n$ npm update\r\ngrunt-contrib-symlink@0.3.0 node_modules/grunt-contrib-symlink\r\njquery-autosize@1.18.17 node_modules/jquery-autosize\r\nfastclick@1.0.3 node_modules/fastclick\r\nuglifycss@0.0.11 node_modules/uglifycss\r\ngrunt-contrib-clean@0.6.0 node_modules/grunt-contrib-clean\r\n└── rimraf@2.2.8\r\nbootstrap-markdown@2.8.0 node_modules/bootstrap-markdown\r\ngrunt-shell@1.1.1 node_modules/grunt-shell\r\n└── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\ngrunt-contrib-copy@0.7.0 node_modules/grunt-contrib-copy\r\n└── chalk@0.5.1 (supports-color@0.2.0, escape-string-regexp@1.0.2, ansi-styles@1.1.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\nselect2@3.5.1 node_modules/select2\r\ngrunt-contrib-sass@0.8.1 node_modules/grunt-contrib-sass\r\n├── dargs@2.1.0\r\n├── win-spawn@2.0.0\r\n├── which@1.0.8\r\n├── async@0.9.0\r\n└── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)\r\nbootbox.js@4.3.0 node_modules/bootbox.js\r\nanimate.css@3.1.1 node_modules/animate.css\r\nvaguejs@0.0.5 node_modules/vaguejs\r\nfont-awesome@4.2.0 node_modules/font-awesome\r\ndropzone@3.12.0 node_modules/dropzone\r\n└── emitter-component@1.1.1\r\ngrunt-contrib-coffee@0.12.0 node_modules/grunt-contrib-coffee\r\n├── uri-path@0.0.2\r\n├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)\r\n├── coffee-script@1.8.0 (mkdirp@0.3.5)\r\n└── lodash@2.4.1\r\nuglify-js@2.4.16 node_modules/uglify-js\r\n├── uglify-to-browserify@1.0.2\r\n├── async@0.2.10\r\n├── optimist@0.3.7 (wordwrap@0.0.2)\r\n└── source-map@0.1.34 (amdefine@0.1.0)\r\nbootstrap-sass@3.3.1 node_modules/bootstrap-sass\r\nmoment@2.9.0 node_modules/moment\r\njquery@2.1.3 node_modules/jquery\r\ngrunt-cli@0.1.13 node_modules/grunt-cli\r\n├── resolve@0.3.1\r\n├── nopt@1.0.10 (abbrev@1.0.5)\r\n└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)\r\njquery-validation@1.13.1 node_modules/jquery-validation\r\ngrunt-contrib-watch@0.6.1 node_modules/grunt-contrib-watch\r\n├── async@0.2.10\r\n├── tiny-lr-fork@0.0.5 (debug@0.7.4, faye-websocket@0.4.4, noptify@0.0.3, qs@0.5.6)\r\n├── gaze@0.5.1 (globule@0.1.0)\r\n└── lodash@2.4.1\r\njquery.event.move@1.3.6 node_modules/jquery.event.move\r\n└── jquery@2.1.3\r\ngrunt@0.4.5 node_modules/grunt\r\n├── which@1.0.8\r\n├── dateformat@1.0.2-1.2.3\r\n├── eventemitter2@0.4.14\r\n├── getobject@0.1.0\r\n├── rimraf@2.2.8\r\n├── colors@0.6.2\r\n├── async@0.1.22\r\n├── grunt-legacy-util@0.2.0\r\n├── hooker@0.2.3\r\n├── nopt@1.0.10 (abbrev@1.0.5)\r\n├── exit@0.1.2\r\n├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)\r\n├── lodash@0.9.2\r\n├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)\r\n├── coffee-script@1.3.3\r\n├── underscore.string@2.2.1\r\n├── iconv-lite@0.2.11\r\n├── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4)\r\n├── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)\r\n└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)\r\njquery.event.swipe@0.5.4 node_modules/jquery.event.swipe\r\n├── jquery.event.move@1.3.6\r\n└── jquery@2.1.3\r\nbootstrap@3.3.1 node_modules/bootstrap\r\njquery-ui-browserify@1.11.0-pre-seelio node_modules/jquery-ui-browserify\r\n```\r\n\r\nHere's my `package.json` file content:\r\n\r\n```bash\r\n{\r\n  \"engines\": {\r\n    \"node\": \">= 0.10.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"grunt\": \"^0.4.5\",\r\n    \"grunt-cli\": \"^0.1.13\",\r\n    \"grunt-contrib-clean\": \"^0.6.0\",\r\n    \"grunt-contrib-coffee\": \"^0.12.0\",\r\n    \"grunt-contrib-copy\": \"^0.7.0\",\r\n    \"grunt-contrib-sass\": \"^0.8.1\",\r\n    \"grunt-contrib-symlink\": \"^0.3.0\",\r\n    \"grunt-contrib-watch\": \"~0.6.1\",\r\n    \"grunt-shell\": \"^1.1.1\"\r\n  },\r\n  \"dependencies\": {\r\n    \"animate.css\": \"^3.1.1\",\r\n    \"bootbox.js\": \"^4.0.0\",\r\n    \"bootstrap\": \"^3.3.1\",\r\n    \"bootstrap-markdown\": \"^2.7.0\",\r\n    \"bootstrap-sass\": \"^3.3.1\",\r\n    \"dropzone\": \"^3.12.0\",\r\n    \"fastclick\": \"^1.0.3\",\r\n    \"font-awesome\": \"^4.2.0\",\r\n    \"jquery\": \"^2.1.3\",\r\n    \"jquery-autosize\": \"^1.18.17\",\r\n    \"jquery-ui-browserify\": \"^1.11.0-pre-seelio\",\r\n    \"jquery-validation\": \"^1.13.1\",\r\n    \"jquery.event.move\": \"^1.3.6\",\r\n    \"jquery.event.swipe\": \"^0.5.3\",\r\n    \"moment\": \"^2.8.4\",\r\n    \"select2\": \"^3.5.1-browserify-fix\",\r\n    \"uglify-js\": \"~2.4\",\r\n    \"uglifycss\": \"~0.0\",\r\n    \"vaguejs\": \"0.0.5\"\r\n  }\r\n}\r\n```\r\n\r\nSystem:\r\n* Mac\r\n  * OS: `OSX 10.9.5`\r\n  * node version: `v0.10.35`\r\n  * npm version: `1.4.28`\r\n* Debian\r\n  * OS: `Debian 7.8`\r\n  * node version: `v0.10.35`\r\n  * npm version: `2.1.18`"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/comments/117960540","html_url":"https://github.com/gruntjs/grunt-contrib-imagemin/issues/282#issuecomment-117960540","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/282","id":117960540,"user":{"login":"radkodinev","id":1845454,"avatar_url":"https://avatars.githubusercontent.com/u/1845454?v=3","gravatar_id":"","url":"https://api.github.com/users/radkodinev","html_url":"https://github.com/radkodinev","followers_url":"https://api.github.com/users/radkodinev/followers","following_url":"https://api.github.com/users/radkodinev/following{/other_user}","gists_url":"https://api.github.com/users/radkodinev/gists{/gist_id}","starred_url":"https://api.github.com/users/radkodinev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radkodinev/subscriptions","organizations_url":"https://api.github.com/users/radkodinev/orgs","repos_url":"https://api.github.com/users/radkodinev/repos","events_url":"https://api.github.com/users/radkodinev/events{/privacy}","received_events_url":"https://api.github.com/users/radkodinev/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T08:44:35Z","updated_at":"2015-07-02T08:44:35Z","body":"Latest `npm` worked for me!"}}