{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/478","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/478/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/478/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/478","id":84920265,"number":478,"title":"Build 'Aborted due to warnings.' optipng ENOENT in file app/images/favicon-16x16.png","user":{"login":"RobFerguson","id":3479070,"avatar_url":"https://avatars.githubusercontent.com/u/3479070?v=3","gravatar_id":"","url":"https://api.github.com/users/RobFerguson","html_url":"https://github.com/RobFerguson","followers_url":"https://api.github.com/users/RobFerguson/followers","following_url":"https://api.github.com/users/RobFerguson/following{/other_user}","gists_url":"https://api.github.com/users/RobFerguson/gists{/gist_id}","starred_url":"https://api.github.com/users/RobFerguson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobFerguson/subscriptions","organizations_url":"https://api.github.com/users/RobFerguson/orgs","repos_url":"https://api.github.com/users/RobFerguson/repos","events_url":"https://api.github.com/users/RobFerguson/events{/privacy}","received_events_url":"https://api.github.com/users/RobFerguson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-editor/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T05:20:49Z","updated_at":"2015-07-15T23:05:02Z","closed_at":"2015-06-09T06:23:44Z","body":"**Environment:**\r\nOS X Yosemite\r\nnode v0.12.4\r\nnpm 2.10.1\r\n\r\n**Commands:**\r\n```\r\ngit clone https://github.com/swagger-api/swagger-editor.git\r\ncd swagger-editor\r\nnpm start\r\n```\r\n**npm-debug.log:**\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]\r\n2 info using npm@2.10.1\r\n3 info using node@v0.12.4\r\n4 verbose node symlink /usr/local/bin/node\r\n5 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n6 info prestart swagger-editor-src@2.9.6\r\n7 verbose unsafe-perm in lifecycle true\r\n8 info swagger-editor-src@2.9.6 Failed to exec prestart script\r\n9 verbose stack Error: swagger-editor-src@2.9.6 prestart: `npm run build`\r\n9 verbose stack Exit status 1\r\n9 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)\r\n9 verbose stack     at EventEmitter.emit (events.js:110:17)\r\n9 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\n9 verbose stack     at ChildProcess.emit (events.js:110:17)\r\n9 verbose stack     at maybeClose (child_process.js:1015:16)\r\n9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\n10 verbose pkgid swagger-editor-src@2.9.6\r\n11 verbose cwd /Users/robferguson/opt/WebStorm/projects/swagger-editor\r\n12 error Darwin 14.3.0\r\n13 error argv \"node\" \"/usr/local/bin/npm\" \"start\"\r\n14 error node v0.12.4\r\n15 error npm  v2.10.1\r\n16 error code ELIFECYCLE\r\n17 error swagger-editor-src@2.9.6 prestart: `npm run build`\r\n17 error Exit status 1\r\n18 error Failed at the swagger-editor-src@2.9.6 prestart script 'npm run build'.\r\n18 error This is most likely a problem with the swagger-editor-src package,\r\n18 error not with npm itself.\r\n18 error Tell the author that this fails on your system:\r\n18 error     npm run build\r\n18 error You can get their info via:\r\n18 error     npm owner ls swagger-editor-src\r\n18 error There is likely additional logging output above.\r\n19 verbose exit [ 1, true ]\r\n```\r\n**Aborted due to warnings:**\r\n```\r\nWarning: Running \"imagemin:dist\" (imagemin) task\r\nWarning: Error: spawn /Users/robferguson/opt/WebStorm/projects/swagger-editor/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor/optipng ENOENT in file app/images/favicon-16x16.png Use --force to continue.\r\n```\r\n\r\n**Work around:**\r\nnpm install -g bower grunt-cli\r\nnpm install\r\nbower install\r\ngrunt serve\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/comments/121772621","html_url":"https://github.com/swagger-api/swagger-editor/issues/478#issuecomment-121772621","issue_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/478","id":121772621,"user":{"login":"d-smith","id":758310,"avatar_url":"https://avatars.githubusercontent.com/u/758310?v=3","gravatar_id":"","url":"https://api.github.com/users/d-smith","html_url":"https://github.com/d-smith","followers_url":"https://api.github.com/users/d-smith/followers","following_url":"https://api.github.com/users/d-smith/following{/other_user}","gists_url":"https://api.github.com/users/d-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/d-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-smith/subscriptions","organizations_url":"https://api.github.com/users/d-smith/orgs","repos_url":"https://api.github.com/users/d-smith/repos","events_url":"https://api.github.com/users/d-smith/events{/privacy}","received_events_url":"https://api.github.com/users/d-smith/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T23:05:02Z","updated_at":"2015-07-15T23:05:02Z","body":"I see this problem trying to build the docker image in commit 9e8470d3d3a1dce18696ff90da0c8c85209bedde:\r\n\r\n<pre>\r\n    Running \"imagemin:dist\" (imagemin) task\r\n    Warning: Error: spawn ENOENT in file app/images/favicon-16x16.png Use --force to continue.\r\n\r\n    Aborted due to warnings.\r\n<pre>"}}