{"action":"created","issue":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/937","repository_url":"https://api.github.com/repos/electron-userland/electron-builder","labels_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/937/labels{/name}","comments_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/937/comments","events_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/937/events","html_url":"https://github.com/electron-userland/electron-builder/issues/937","id":191706554,"number":937,"title":"Unable to build package because of asarUnpack","user":{"login":"vincent-t","id":959709,"avatar_url":"https://avatars.githubusercontent.com/u/959709?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-t","html_url":"https://github.com/vincent-t","followers_url":"https://api.github.com/users/vincent-t/followers","following_url":"https://api.github.com/users/vincent-t/following{/other_user}","gists_url":"https://api.github.com/users/vincent-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-t/subscriptions","organizations_url":"https://api.github.com/users/vincent-t/orgs","repos_url":"https://api.github.com/users/vincent-t/repos","events_url":"https://api.github.com/users/vincent-t/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-25T13:51:55Z","updated_at":"2016-12-15T07:01:06Z","closed_at":"2016-11-26T09:17:10Z","body":"<!-- Which version of electron-builder are you using? -->\r\n* **Version**: 9.1.0\r\n\r\n<!-- What target are you building for? -->\r\n* **Target**: linux x64\r\n\r\n<!-- Enter your issue details below this comment. -->\r\n\r\n```\r\nRebuilding native production dependencies for arch x64\r\nPackaging for linux x64 using electron 1.4.6 to dist/linux-unpacked\r\nTypeError: A value  was yielded that could not be treated as a promise\r\n\r\n    See http://goo.gl/MqrFmX\r\n\r\nFrom coroutine:\r\n    at Promise.coroutine (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/bluebird/js/release/generators.js:194:17)\r\n    at AsarPackager.createPackageFromFiles (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/asarUtil.js:276:70)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/asarUtil.ts:107:16\r\n    at Generator.next (<anonymous>)\r\n    at Generator.tryCatcher (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/bluebird/js/release/util.js:16:23)\r\n    at PromiseSpawn._promiseFulfilled (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/bluebird/js/release/generators.js:97:49)\r\n    at Promise._settlePromise (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/bluebird/js/release/promise.js:572:26)\r\n    at Promise._settlePromise0 (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/bluebird/js/release/promise.js:612:10)\r\n    at AsarPackager.createPackageFromFiles (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/asarUtil.js:276:70)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/asarUtil.ts:107:16\r\n    at Generator.next (<anonymous>)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/fs-extra-tf/lib/mkdirs/mkdirs.js:35:14\r\n    at FSReqWrap.oncomplete (fs.js:111:15)\r\nFrom previous event:\r\n    at AsarPackager.createPackageFromFiles (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/asarUtil.js:375:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/asarUtil.ts:107:16\r\n    at Generator.next (<anonymous>)\r\n    at runCallback (timers.js:649:20)\r\n    at tryOnImmediate (timers.js:622:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:594:5)\r\nFrom previous event:\r\n    at AsarPackager.pack (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/asarUtil.js:191:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/asarUtil.ts:71:70\r\n    at Generator.next (<anonymous>)\r\nFrom previous event:\r\n    at createAsarArchive (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/asarUtil.js:70:22)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/platformPackager.ts:249:17\r\nFrom previous event:\r\n    at LinuxPackager.doPack (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/platformPackager.js:316:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/platformPackager.ts:157:16\r\n    at Generator.next (<anonymous>)\r\nFrom previous event:\r\n    at LinuxPackager.pack (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/platformPackager.js:213:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/packager.ts:132:22\r\nFrom previous event:\r\n    at Packager.doBuild (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/packager.js:256:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/packager.ts:100:38\r\n    at Generator.next (<anonymous>)\r\n    at runCallback (timers.js:649:20)\r\n    at tryOnImmediate (timers.js:622:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:594:5)\r\nFrom previous event:\r\n    at Packager.build (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/packager.js:208:11)\r\n    at /media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/src/builder.ts:240:40\r\n    at Generator.next (<anonymous>)\r\nFrom previous event:\r\n    at build (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/builder.js:89:21)\r\n    at Object.<anonymous> (/media/disk2/Development/Spotify-Web-Player-for-Linux/node_modules/electron-builder/out/cli/build-cli.js:62:41)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.runMain (module.js:605:10)\r\n    at run (bootstrap_node.js:420:7)\r\n    at startup (bootstrap_node.js:139:9)\r\n    at bootstrap_node.js:535:3\r\n\r\nnpm ERR! Linux 4.4.0-47-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"dist\"\r\nnpm ERR! node v7.2.0\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! spotifywebplayer@1.0.25 dist: `build`\r\nnpm ERR! Exit status 255\r\nnpm ERR! \r\nnpm ERR! Failed at the spotifywebplayer@1.0.25 dist script 'build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the spotifywebplayer package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs spotifywebplayer\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls spotifywebplayer\r\nnpm ERR! There is likely additional logging output above.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/electron-userland/electron-builder/issues/comments/267254062","html_url":"https://github.com/electron-userland/electron-builder/issues/937#issuecomment-267254062","issue_url":"https://api.github.com/repos/electron-userland/electron-builder/issues/937","id":267254062,"user":{"login":"vincent-t","id":959709,"avatar_url":"https://avatars.githubusercontent.com/u/959709?v=3","gravatar_id":"","url":"https://api.github.com/users/vincent-t","html_url":"https://github.com/vincent-t","followers_url":"https://api.github.com/users/vincent-t/followers","following_url":"https://api.github.com/users/vincent-t/following{/other_user}","gists_url":"https://api.github.com/users/vincent-t/gists{/gist_id}","starred_url":"https://api.github.com/users/vincent-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincent-t/subscriptions","organizations_url":"https://api.github.com/users/vincent-t/orgs","repos_url":"https://api.github.com/users/vincent-t/repos","events_url":"https://api.github.com/users/vincent-t/events{/privacy}","received_events_url":"https://api.github.com/users/vincent-t/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T07:01:06Z","updated_at":"2016-12-15T07:01:06Z","body":"@Jonovono look at devlar's post."}}
{"actor":{"display_login":"vincent-t"}}