{"action":"created","issue":{"url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/85","labels_url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/85/comments","events_url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/85/events","html_url":"https://github.com/allegro/grunt-maven-plugin/issues/85","id":95684395,"number":85,"title":"spawn EACCES error when running imagemin task","user":{"login":"joaoduraes","id":6508898,"avatar_url":"https://avatars.githubusercontent.com/u/6508898?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoduraes","html_url":"https://github.com/joaoduraes","followers_url":"https://api.github.com/users/joaoduraes/followers","following_url":"https://api.github.com/users/joaoduraes/following{/other_user}","gists_url":"https://api.github.com/users/joaoduraes/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoduraes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoduraes/subscriptions","organizations_url":"https://api.github.com/users/joaoduraes/orgs","repos_url":"https://api.github.com/users/joaoduraes/repos","events_url":"https://api.github.com/users/joaoduraes/events{/privacy}","received_events_url":"https://api.github.com/users/joaoduraes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-17T15:47:04Z","updated_at":"2015-08-06T14:26:54Z","closed_at":null,"body":"Hi!\r\n\r\nI am having the following issue when running mvn clean install:\r\n\r\n<blockquote>Running \"imagemin:dist\" (imagemin) task\r\n    Verifying property imagemin.dist exists in config...OK\r\n    Files: app/images/image.jpg -> ../target/generated-resources/static/images/image.jpg\r\n    Options: interlaced, optimizationLevel=3, progressive\r\n    Fatal error: spawn EACCES </blockquote>\r\n\r\nIf I just run the grunt build, the imagemin task runs just fine without any issues, but when running within the maven build it doesn't seem to be able to run. I also have the svgmin grunt task running and this doesn't have any problems. \r\n\r\nEveryone seem to point to permissions problems, but I don't think that's the case here as I can run the imagemin task just fine if not from the maven build.\r\n\r\nAny idea?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/comments/128391278","html_url":"https://github.com/allegro/grunt-maven-plugin/issues/85#issuecomment-128391278","issue_url":"https://api.github.com/repos/allegro/grunt-maven-plugin/issues/85","id":128391278,"user":{"login":"joaoduraes","id":6508898,"avatar_url":"https://avatars.githubusercontent.com/u/6508898?v=3","gravatar_id":"","url":"https://api.github.com/users/joaoduraes","html_url":"https://github.com/joaoduraes","followers_url":"https://api.github.com/users/joaoduraes/followers","following_url":"https://api.github.com/users/joaoduraes/following{/other_user}","gists_url":"https://api.github.com/users/joaoduraes/gists{/gist_id}","starred_url":"https://api.github.com/users/joaoduraes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaoduraes/subscriptions","organizations_url":"https://api.github.com/users/joaoduraes/orgs","repos_url":"https://api.github.com/users/joaoduraes/repos","events_url":"https://api.github.com/users/joaoduraes/events{/privacy}","received_events_url":"https://api.github.com/users/joaoduraes/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T14:26:54Z","updated_at":"2015-08-06T14:26:54Z","body":"I'm sorry I haven't updated this issue, but after a while I figured out it was some problem with my local environment. After deleting a node_modules folder that had been previously generated it all went fine. \r\n\r\nI hope this helps."}}