{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/623","labels_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/623/comments","events_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/623/events","html_url":"https://github.com/yeoman/generator-webapp/issues/623","id":119254053,"number":623,"title":"Building the dist : 'Fatal error: Cannot read property 'contents' of undefined'","user":{"login":"Michkkael","id":8982274,"avatar_url":"https://avatars.githubusercontent.com/u/8982274?v=3","gravatar_id":"","url":"https://api.github.com/users/Michkkael","html_url":"https://github.com/Michkkael","followers_url":"https://api.github.com/users/Michkkael/followers","following_url":"https://api.github.com/users/Michkkael/following{/other_user}","gists_url":"https://api.github.com/users/Michkkael/gists{/gist_id}","starred_url":"https://api.github.com/users/Michkkael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michkkael/subscriptions","organizations_url":"https://api.github.com/users/Michkkael/orgs","repos_url":"https://api.github.com/users/Michkkael/repos","events_url":"https://api.github.com/users/Michkkael/events{/privacy}","received_events_url":"https://api.github.com/users/Michkkael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-27T22:28:09Z","updated_at":"2015-11-28T09:48:01Z","closed_at":null,"body":"Hello,\r\nWhen I run 'grunt' via terminal to build the dist, I get this following error :\r\n    \r\n    Execution Time (2015-11-27 22:15:28 UTC)\r\n    loading tasks        267ms  ▇▇▇▇▇▇▇▇▇▇ 23%\r\n    loading grunt-babel  670ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 58%\r\n    babel:dist           172ms  ▇▇▇▇▇▇▇ 15%\r\n    babel:test            44ms  ▇▇ 4%\r\n    Total 1.2s\r\n        Warning: Running \"imagemin:dist\" (imagemin) task\r\n    Fatal error: Cannot read property 'contents' of undefined\r\n    \r\n    \r\n    Execution Time (2015-11-27 22:15:28 UTC)\r\n    loading tasks                   250ms  ▇▇▇ 10%\r\n    loading grunt-contrib-imagemin  299ms  ▇▇▇▇ 12%\r\n    imagemin:dist                      2s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 79%\r\n    Total 2.6s Use --force to continue.\r\n        \r\n        Aborted due to warnings.\r\n\r\nMy gruntfile is not modified\r\nDoes anyone have an idea to solve this issue ? :smile: \r\nThank you ! "},"comment":{"url":"https://api.github.com/repos/yeoman/generator-webapp/issues/comments/160270366","html_url":"https://github.com/yeoman/generator-webapp/issues/623#issuecomment-160270366","issue_url":"https://api.github.com/repos/yeoman/generator-webapp/issues/623","id":160270366,"user":{"login":"neilhem","id":1889800,"avatar_url":"https://avatars.githubusercontent.com/u/1889800?v=3","gravatar_id":"","url":"https://api.github.com/users/neilhem","html_url":"https://github.com/neilhem","followers_url":"https://api.github.com/users/neilhem/followers","following_url":"https://api.github.com/users/neilhem/following{/other_user}","gists_url":"https://api.github.com/users/neilhem/gists{/gist_id}","starred_url":"https://api.github.com/users/neilhem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilhem/subscriptions","organizations_url":"https://api.github.com/users/neilhem/orgs","repos_url":"https://api.github.com/users/neilhem/repos","events_url":"https://api.github.com/users/neilhem/events{/privacy}","received_events_url":"https://api.github.com/users/neilhem/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T09:48:01Z","updated_at":"2015-11-28T09:48:01Z","body":"Double check if grunt-contrib-imagemin version is v1.0.0 or higher"}}