{"action":"closed","issue":{"url":"https://api.github.com/repos/popcorn-official/popcorn-desktop/issues/337","repository_url":"https://api.github.com/repos/popcorn-official/popcorn-desktop","labels_url":"https://api.github.com/repos/popcorn-official/popcorn-desktop/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/popcorn-official/popcorn-desktop/issues/337/comments","events_url":"https://api.github.com/repos/popcorn-official/popcorn-desktop/issues/337/events","html_url":"https://github.com/popcorn-official/popcorn-desktop/issues/337","id":188942421,"number":337,"title":"Error building on ArchLinux","user":{"login":"ItachiSan","id":1223421,"avatar_url":"https://avatars.githubusercontent.com/u/1223421?v=3","gravatar_id":"","url":"https://api.github.com/users/ItachiSan","html_url":"https://github.com/ItachiSan","followers_url":"https://api.github.com/users/ItachiSan/followers","following_url":"https://api.github.com/users/ItachiSan/following{/other_user}","gists_url":"https://api.github.com/users/ItachiSan/gists{/gist_id}","starred_url":"https://api.github.com/users/ItachiSan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItachiSan/subscriptions","organizations_url":"https://api.github.com/users/ItachiSan/orgs","repos_url":"https://api.github.com/users/ItachiSan/repos","events_url":"https://api.github.com/users/ItachiSan/events{/privacy}","received_events_url":"https://api.github.com/users/ItachiSan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-13T00:01:00Z","updated_at":"2016-12-01T20:38:38Z","closed_at":"2016-12-01T20:38:38Z","body":"Operating System Version:\r\n<!-- OS X 10.11? Windows 10? Linux?-->\r\nArchLinux\r\n\r\nPopcorn Time Version:\r\n<!-- What version of Popcorn Time are you running? -->\r\n0.3.10\r\n\r\nDownload date:\r\n<!-- When did you install Popcorn Time? -->\r\nBuilding it on ArchLinux, using the AUR package (see https://aur.archlinux.org/packages/popcorntime/, I am the official maintainer of the package)\r\n\r\n#### Expected Behaviour\r\n<!-- What did you think the app was going to do? -->\r\nBuilding the package as expected.\r\n\r\n#### Actual Behaviour\r\n<!-- What does the app do instead? -->\r\nIn order to build the package, I used to do `npm install` and then `gulp build`.\r\nThe `npm install` part works fine, but the `gulp build` breaks when starting the *nwjs* task.\r\n\r\n#### Steps to reproduce the behaviour\r\nWhen using the AUR package\r\n1. `makepkg`\r\nor else\r\n1. `npm install`\r\n2. `gulp build`\r\n\r\nThe error log is the following one:\r\n```\r\n[00:40:46] Using gulpfile ~/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/gulpfile.js\r\n(node:16184) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.\r\n[00:40:46] Starting 'build'...\r\n[00:40:46] Starting 'injectgit'...\r\nBranch: master\r\nCommit: 5fd84a77\r\n[00:40:46] Finished 'injectgit' after 249 ms\r\n[00:40:46] Starting 'css'...\r\nStylus files compiled in /home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/src/app/themes/\r\n[00:41:03] Finished 'css' after 17 s\r\n[00:41:03] Starting 'nwjs'...\r\nTypeError: Cannot read property 'filter' of undefined\r\n    at /home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/nw-builder/lib/versions.js:115:13\r\n    at tryCatcher (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/promise.js:510:31)\r\n    at Promise._settlePromise (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/promise.js:567:18)\r\n    at Promise._settlePromise0 (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/promise.js:612:10)\r\n    at Promise._settlePromises (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/promise.js:691:18)\r\n    at Async._drainQueue (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/async.js:138:16)\r\n    at Async._drainQueues (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/async.js:148:10)\r\n    at Immediate.Async.drainQueues (/home/itachisan/Packaging/popcorntime/src/popcorn-desktop-84a68ce66c6b8633a38563109ea49404e5b02dec/node_modules/bluebird/js/release/async.js:17:14)\r\n    at runCallback (timers.js:637:20)\r\n    at tryOnImmediate (timers.js:610:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:582:5)\r\n[00:43:34] Finished 'nwjs' after 2.5 min\r\n[00:43:34] Finished 'build' after 2.8 min\r\n```"}}
{"actor":{"display_login":"ItachiSan"}}