{"action":"opened","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/298","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/298/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-imagemin/issues/298/events","html_url":"https://github.com/gruntjs/grunt-contrib-imagemin/issues/298","id":69791291,"number":298,"title":"Optional dependencies for imagemin needs to be installed manually (or files gets copied instead of optimized)","user":{"login":"erik-man","id":6662650,"avatar_url":"https://avatars.githubusercontent.com/u/6662650?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-man","html_url":"https://github.com/erik-man","followers_url":"https://api.github.com/users/erik-man/followers","following_url":"https://api.github.com/users/erik-man/following{/other_user}","gists_url":"https://api.github.com/users/erik-man/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-man/subscriptions","organizations_url":"https://api.github.com/users/erik-man/orgs","repos_url":"https://api.github.com/users/erik-man/repos","events_url":"https://api.github.com/users/erik-man/events{/privacy}","received_events_url":"https://api.github.com/users/erik-man/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T09:14:55Z","updated_at":"2015-04-21T09:14:55Z","closed_at":null,"body":"This might only be a documentation issue, but I get the impression that grunt-contrib-imagemin should optimize images from a clean install, however instead it copies the files and reports that the images can't be optimized.\r\n\r\nIf I install the dependencies (imagemin-gifsicle, imagemin-jpegtran, imagemin-optipng, imagemin-svgo) manually then it works as expected (the dependencies are marked as optional in imagemin so they don't get installed by default).\r\n\r\nExpected:\r\nThe dependencies to be installed automatically, or documentation should include how to install the dependencies (could also be nice if the output said 'no optimizier available' or similar when no suitable plugin is loaded)."}}