Operating System Version:
Fedora 27
Popcorn Time Version:
master, more specifically, this commi f381d448
Download date:
6th of May 2018
I expected to be able to build it locally
I was unable to build it locally.
$node --version
v8.11.1
$npm --version
6.0.0
$npm install -g bower gulp
$npm install
$bower install
$gulp build
[10:07:50] Using gulpfile ~/Dev/popcorn-desktop/gulpfile.js
[10:07:50] Starting 'build'...
[10:07:50] Starting 'injectgit'...
Branch: development
Commit: f381d448
[10:07:50] Finished 'injectgit' after 12 ms
[10:07:50] Starting 'css'...
Stylus files compiled in /home/andrei/Dev/popcorn-desktop/src/app/themes/
[10:07:52] Finished 'css' after 2.34 s
[10:07:52] Starting 'nwjs'...
{ Error: Command failed: npm ls --production=true --parseable=true
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
killed: false,
code: 1,
signal: null,
cmd: 'npm ls --production=true --parseable=true' }
[10:07:54] Finished 'nwjs' after 2.39 s
[10:07:54] Finished 'build' after 4.74 s
I think it's related to npm version because i got the same issue with npm 5 and 6.
Install latest npm 4.x.x version (sudo npm install -g npm@latest-4) and retry.
I don't think it's related to #776 or #781, but more with #774.
Please test and tell us.
hi, you have to download the latest NODE as long as the NPM and then do a downgrade... if everything is OK in your computer, it should be compiled... please refer to #774
edit:
@Persei08 you should need to download the LTS version of node (which comes with npm), the node LTS version is the 8~
No!! you don't need the latest node or npm versions. You need npm 4.x.x. with the node 7 or 8.
@christian130 There is no point into sharing your packaged version here.
@Persei08 thank you for your input! I tested with node 8 and npm 4 and I managed to build. When I start it, it fails just like the installed version :(
@christian130 I'm using the LTS
if it fails it could be due to VIDEO performance... and therefore some of driver issues... could you just add print screen?... and if you was successfully to build it, please then go to the log file and copy paste
@andreicristianpetcu I think you can close this. We have report #776 for the crash under fedora.
@christian130 it just fails on startup. I see less than a second the window and then it stops. Where can I find the log files? I wanted to build this locally so I can get info about why it fails and share it on the other issue.
If somebody starts working on #776 I can even build from branch locally and test if it works before it gets merged.
This is what I get:
$gulp run
[14:50:20] Using gulpfile ~/Dev/popcorn-desktop/gulpfile.js
[14:50:20] Starting 'run'...
Running linux64 from cache
Popcorn-Time exited with code 0
[14:50:24] Finished 'run' after 3.71 s
We don't know if this is something to fix on PT side.
Most helpful comment
I think it's related to npm version because i got the same issue with npm 5 and 6.
Install latest npm 4.x.x version (
sudo npm install -g npm@latest-4) and retry.I don't think it's related to #776 or #781, but more with #774.
Please test and tell us.