{"action":"created","issue":{"url":"https://api.github.com/repos/imagemin/imagemin/issues/126","labels_url":"https://api.github.com/repos/imagemin/imagemin/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/imagemin/imagemin/issues/126/comments","events_url":"https://api.github.com/repos/imagemin/imagemin/issues/126/events","html_url":"https://github.com/imagemin/imagemin/issues/126","id":109801323,"number":126,"title":"Error installing imagemin module with spaces in the directory","user":{"login":"jdtaylor91","id":12166669,"avatar_url":"https://avatars.githubusercontent.com/u/12166669?v=3","gravatar_id":"","url":"https://api.github.com/users/jdtaylor91","html_url":"https://github.com/jdtaylor91","followers_url":"https://api.github.com/users/jdtaylor91/followers","following_url":"https://api.github.com/users/jdtaylor91/following{/other_user}","gists_url":"https://api.github.com/users/jdtaylor91/gists{/gist_id}","starred_url":"https://api.github.com/users/jdtaylor91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdtaylor91/subscriptions","organizations_url":"https://api.github.com/users/jdtaylor91/orgs","repos_url":"https://api.github.com/users/jdtaylor91/repos","events_url":"https://api.github.com/users/jdtaylor91/events{/privacy}","received_events_url":"https://api.github.com/users/jdtaylor91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T13:56:43Z","updated_at":"2015-10-27T09:13:40Z","closed_at":null,"body":"I get an error when adding imagemin to my project, it seems to be related to a space in the path which causes the 'optipng-bin' dependency to error.\r\n\r\nWhen i run 'npm install gulp-imagemin' the following error is thrown:\r\n\r\n```\r\n  ‼ Command failed: C:\\Windows\\system32\\cmd.exe /s /c \"C:\\Projects\\My Project\\Staging\\src\\Web\\node_modules\\gulp-imagemin\\node_modules\\imagemin\\node\r\n_modules\\imagemin-optipng\\node_modules\\optipng-bin\\vendor\\optipng.exe --version\"\r\n\r\n'C:\\Projects\\My' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n```\r\n\r\nFor reference, my node and npm versions are:\r\n```\r\nnode --version: v4.1.1\r\nnpm --version: v2.14.4\r\n```\r\n\r\nI'm not sure if this is something that you are able to fix as it seems related to the 'optipng-bin' package but I wanted to make you aware of this incase you weren't already."},"comment":{"url":"https://api.github.com/repos/imagemin/imagemin/issues/comments/151422693","html_url":"https://github.com/imagemin/imagemin/issues/126#issuecomment-151422693","issue_url":"https://api.github.com/repos/imagemin/imagemin/issues/126","id":151422693,"user":{"login":"honkevin","id":1363529,"avatar_url":"https://avatars.githubusercontent.com/u/1363529?v=3","gravatar_id":"","url":"https://api.github.com/users/honkevin","html_url":"https://github.com/honkevin","followers_url":"https://api.github.com/users/honkevin/followers","following_url":"https://api.github.com/users/honkevin/following{/other_user}","gists_url":"https://api.github.com/users/honkevin/gists{/gist_id}","starred_url":"https://api.github.com/users/honkevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honkevin/subscriptions","organizations_url":"https://api.github.com/users/honkevin/orgs","repos_url":"https://api.github.com/users/honkevin/repos","events_url":"https://api.github.com/users/honkevin/events{/privacy}","received_events_url":"https://api.github.com/users/honkevin/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T09:13:40Z","updated_at":"2015-10-27T09:13:40Z","body":"same here"}}