{"action":"created","issue":{"url":"https://api.github.com/repos/railsware/bozon/issues/27","repository_url":"https://api.github.com/repos/railsware/bozon","labels_url":"https://api.github.com/repos/railsware/bozon/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/railsware/bozon/issues/27/comments","events_url":"https://api.github.com/repos/railsware/bozon/issues/27/events","html_url":"https://github.com/railsware/bozon/issues/27","id":181510894,"number":27,"title":"package cmd. fails w/ Unhandled rejection Error: electron-prebuilt must be in the devDependencies","user":{"login":"semanticdreamer","id":379110,"avatar_url":"https://avatars.githubusercontent.com/u/379110?v=3","gravatar_id":"","url":"https://api.github.com/users/semanticdreamer","html_url":"https://github.com/semanticdreamer","followers_url":"https://api.github.com/users/semanticdreamer/followers","following_url":"https://api.github.com/users/semanticdreamer/following{/other_user}","gists_url":"https://api.github.com/users/semanticdreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/semanticdreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semanticdreamer/subscriptions","organizations_url":"https://api.github.com/users/semanticdreamer/orgs","repos_url":"https://api.github.com/users/semanticdreamer/repos","events_url":"https://api.github.com/users/semanticdreamer/events{/privacy}","received_events_url":"https://api.github.com/users/semanticdreamer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/railsware/bozon/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T19:58:46Z","updated_at":"2016-10-18T09:25:05Z","closed_at":"2016-10-14T16:03:34Z","body":"First things first: AWESOME project ! 👍 \r\n\r\nThe error...\r\n\r\n<details>\r\n  <summary>Unhandled rejection Error: electron-prebuilt must be in the devDependencies - Click to expand</summary>\r\n```\r\nCI detected, so artifacts will be published if draft release exists\r\nUnhandled rejection Error: electron-prebuilt must be in the devDependencies\r\n    at checkDependencies (/dev/code/bozon_test/node_modules/electron-builder/src/packager.ts:310:13)\r\n    at Packager.checkMetadata (/dev/code/bozon_test/node_modules/electron-builder/src/packager.ts:184:5)\r\n    at Packager.<anonymous> (/dev/code/bozon_test/node_modules/electron-builder/src/packager.ts:90:10)\r\n    at next (native)\r\n    at runCallback (timers.js:574:20)\r\n    at tryOnImmediate (timers.js:554:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:533:5)\r\nFrom previous event:\r\n    at tsAwaiter (/dev/code/bozon_test/node_modules/electron-builder/src/util/awaiter.ts:10:47)\r\n    at Object.build (/dev/code/bozon_test/node_modules/electron-builder/out/builder.js:153:12)\r\n    at Packager.productionBuild (/usr/local/lib/node_modules/bozon/lib/packaging/packager.js:46:33)\r\n    at Packager.build (/usr/local/lib/node_modules/bozon/lib/packaging/packager.js:19:19)\r\n    at Object.package (/usr/local/lib/node_modules/bozon/lib/bin/runner.js:21:42)\r\n    at Command.<anonymous> (/usr/local/lib/node_modules/bozon/lib/bin/bozon.js:42:19)\r\n    at Command.listener (/usr/local/lib/node_modules/bozon/node_modules/commander/index.js:301:8)\r\n    at emitTwo (events.js:106:13)\r\n    at Command.emit (events.js:191:7)\r\n    at Command.parseArgs (/usr/local/lib/node_modules/bozon/node_modules/commander/index.js:615:12)\r\n    at Command.parse (/usr/local/lib/node_modules/bozon/node_modules/commander/index.js:458:21)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/bozon/lib/bin/bozon.js:45:9)\r\n    at Module._compile (module.js:556:32)\r\n    at Object.Module._extensions..js (module.js:565:10)\r\n    at Module.load (module.js:473:32)\r\n    at tryModuleLoad (module.js:432:12)\r\n[...]\r\n```\r\n</details>\r\n\r\n...occurs for package cmd. for all targets (`osx|windows|linux`).\r\n\r\nSimply installing the module `electron-prebuilt` as devDependency does not solve the issue.\r\n\r\nI could reproduce for `bozon@0.5.5` on Node `v5.12.0` and `v6.6.0` on OSX 10.12 (Sierra) for a  newly scaffolded otherwise untouched app."},"comment":{"url":"https://api.github.com/repos/railsware/bozon/issues/comments/254454285","html_url":"https://github.com/railsware/bozon/issues/27#issuecomment-254454285","issue_url":"https://api.github.com/repos/railsware/bozon/issues/27","id":254454285,"user":{"login":"alchaplinsky","id":695947,"avatar_url":"https://avatars.githubusercontent.com/u/695947?v=3","gravatar_id":"","url":"https://api.github.com/users/alchaplinsky","html_url":"https://github.com/alchaplinsky","followers_url":"https://api.github.com/users/alchaplinsky/followers","following_url":"https://api.github.com/users/alchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/alchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/alchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/alchaplinsky/orgs","repos_url":"https://api.github.com/users/alchaplinsky/repos","events_url":"https://api.github.com/users/alchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/alchaplinsky/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T09:25:05Z","updated_at":"2016-10-18T09:25:05Z","body":"@semanticdreamer  🤘 "}}
{"actor":{"display_login":"alchaplinsky"}}