webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.74k stars 1.01k forks source link

WebTorrent Desktop Fails to Install on Raspberry Pi 1 #633

Closed martinvahi closed 8 years ago

martinvahi commented 8 years ago

The basics:

webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ date
Fri Jun 10 15:53:50 UTC 2016
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ which npm
/usr/bin/npm
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ uname -a
Linux computenode1softf1com 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm -version
1.4.21
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $

The long story:

webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm install npm@latest npm WARN package.json node@0.0.0 No description
npm WARN package.json node@0.0.0 No repository field.
npm WARN package.json node@0.0.0 No README data
npm WARN prefer global npm@3.9.5 should be installed with -g
npm@3.9.5 node_modules/npm
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm install npm@latest  
sync
npm WARN package.json node@0.0.0 No description
npm WARN package.json node@0.0.0 No repository field.
npm WARN package.json node@0.0.0 No README data
npm WARN prefer global npm@3.9.5 should be installed with -g
npm@3.9.5 node_modules/npm
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ 
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ sync
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm update
sync
npm WARN engine appdmg@0.4.5: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN optional dep failed, continuing appdmg@0.4.5
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
speedometer@0.1.4 node_modules/gh-release/node_modules/gh-release-assets/node_modules/progress-stream/node_modules/speedometer
supports-color@2.0.0 node_modules/gh-release/node_modules/chalk/node_modules/supports-color
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/electron-download/node_modules/mv requires mkdirp@'~0.5.1' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/electron-download/node_modules/mv requires rimraf@'~2.4.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/electron-download/node_modules/rc requires minimist@'^1.2.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/electron-download requires minimist@'^1.2.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/electron-download requires mkdirp@'^0.5.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
path-exists@1.0.0 node_modules/electron-packager/node_modules/electron-download/node_modules/path-exists
path-exists@2.1.0 node_modules/airplayer/node_modules/internal-ip/node_modules/meow/node_modules/read-pkg-up/node_modules/find-up/node_modules/path-exists
process@0.5.2 node_modules/virtual-dom/node_modules/global/node_modules/process
closest-to@0.0.2 node_modules/create-torrent/node_modules/piece-length/node_modules/closest-to
assert-plus@0.2.0 node_modules/gh-release/node_modules/request/node_modules/http-signature/node_modules/assert-plus
supports-color@2.0.0 node_modules/airplayer/node_modules/appendable-cli-menu/node_modules/chalk/node_modules/supports-color
strip-json-comments@1.0.4 node_modules/electron-packager/node_modules/electron-download/node_modules/rc/node_modules/strip-json-comments
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/standard/node_modules/standard-engine/node_modules/deglob requires find-root@'^0.1.1' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/standard/node_modules/standard-engine/node_modules/find-root,
npm WARN unmet dependency which is version 1.0.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/standard/node_modules/standard-engine/node_modules/deglob requires run-parallel@'^1.1.2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
find-root@0.1.2 node_modules/standard/node_modules/standard-engine/node_modules/deglob/node_modules/find-root
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/extract-zip requires mkdirp@'0.5.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
debug@0.7.4 node_modules/electron-packager/node_modules/extract-zip/node_modules/debug
deep-extend@0.3.3 node_modules/gh-release/node_modules/deep-extend
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/musicmetadata requires deep-equal@'0.2.1' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/deep-equal,
npm WARN unmet dependency which is version 1.0.1
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager requires fs-extra@'^0.28.0' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/fs-extra,
npm WARN unmet dependency which is version 0.27.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-winstaller requires fs-extra@'^0.26.7' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/fs-extra,
npm WARN unmet dependency which is version 0.27.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/mkdirp requires minimist@'0.0.8' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/minimist,
npm WARN unmet dependency which is version 1.2.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/chromecasts/node_modules/castv2-client requires debug@'~1.0.1' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/chromecasts/node_modules/debug,
npm WARN unmet dependency which is version 2.2.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/chromecasts/node_modules/castv2-client/node_modules/castv2 requires debug@'~1.0.1' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/chromecasts/node_modules/debug,
npm WARN unmet dependency which is version 2.2.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/srt-to-vtt/node_modules/to-utf-8/node_modules/peek-stream requires through2@'^0.5.1' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/webtorrent/node_modules/package-json-versionify/node_modules/through2 requires readable-stream@'~2.0.0' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/webtorrent/node_modules/readable-stream,
npm WARN unmet dependency which is version 2.1.4
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot requires fs-extra@'0.26.7' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/fs-extra,
npm WARN unmet dependency which is version 0.27.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-winstaller/node_modules/temp requires rimraf@'~2.2.6' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/rimraf,
npm WARN unmet dependency which is version 2.5.2
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot requires fs-extra@'0.26.7' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/fs-extra,
npm WARN unmet dependency which is version 0.27.0
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/nobin-debian-installer/node_modules/tar-stream/node_modules/bl requires readable-stream@'~2.0.5' but will load
npm WARN unmet dependency /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/nobin-debian-installer/node_modules/tar-stream/node_modules/readable-stream,
npm WARN unmet dependency which is version 2.1.4
base64-js@0.0.8 node_modules/plist/node_modules/base64-js
next-tick@0.2.2 node_modules/virtual-dom/node_modules/next-tick
deep-equal@0.2.1 node_modules/musicmetadata/node_modules/deep-equal
ip@0.3.3 node_modules/webtorrent/node_modules/load-ip-set/node_modules/ip-set/node_modules/ip
npm WARN deprecated lodash@1.2.1: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
rimraf@2.2.8 node_modules/electron-winstaller/node_modules/temp/node_modules/rimraf
extsprintf@1.0.2 node_modules/gh-release/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf
line-reader@0.2.4 node_modules/gh-release/node_modules/changelog-parser/node_modules/line-reader
mkpath@0.1.0 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/mkpath
minimist@0.0.8 node_modules/mkdirp/node_modules/minimist
camelcase-keys@2.1.0 node_modules/airplayer/node_modules/internal-ip/node_modules/meow/node_modules/camelcase-keys
└── camelcase@2.1.1
strip-indent@1.0.1 node_modules/standard/node_modules/standard-engine/node_modules/multiline/node_modules/strip-indent
└── get-stdin@4.0.1
filereader-stream@0.2.0 node_modules/musicmetadata/node_modules/filereader-stream
└── inherits@1.0.0
mkpath@0.1.0 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/mkpath
lru@2.0.1 node_modules/webtorrent/node_modules/bittorrent-dht/node_modules/lru
└── inherits@2.0.1
verror@1.3.6 node_modules/gh-release/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
strip-indent@1.0.1 node_modules/airplayer/node_modules/internal-ip/node_modules/meow/node_modules/redent/node_modules/strip-indent
└── get-stdin@4.0.1
debug@1.0.4 node_modules/chromecasts/node_modules/castv2-client/node_modules/debug
└── ms@0.6.2
async@0.9.2 node_modules/gh-release/node_modules/gh-release-assets/node_modules/async
traverse@0.3.9 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/binary/node_modules/chainsaw/node_modules/traverse
raf@2.0.4 node_modules/main-loop/node_modules/raf
└── performance-now@0.1.4
traverse@0.3.9 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/binary/node_modules/chainsaw/node_modules/traverse
end-of-stream@1.0.0 node_modules/srt-to-vtt/node_modules/duplexify/node_modules/end-of-stream
└── once@1.3.3 (wrappy@1.0.2)
debug@1.0.4 node_modules/chromecasts/node_modules/castv2-client/node_modules/castv2/node_modules/debug
└── ms@0.6.2
qs@6.1.0 node_modules/gh-release/node_modules/request/node_modules/qs
yargs@2.3.0 node_modules/gh-release/node_modules/yargs
└── wordwrap@0.0.2
async@1.5.2 node_modules/gh-release/node_modules/request/node_modules/form-data/node_modules/async
tweetnacl@0.13.3 node_modules/gh-release/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl
stream-buffers@2.2.0 node_modules/airplayer/node_modules/airplay-protocol/node_modules/bplist-creator/node_modules/stream-buffers
touch@0.0.3 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/touch
└── nopt@1.0.10 (abbrev@1.0.7)
error@4.4.0 node_modules/virtual-dom/node_modules/error
├── camelize@1.0.0
├── string-template@0.2.1
└── xtend@4.0.1
shelljs@0.3.0 node_modules/gh-release/node_modules/shelljs
mkdirp@0.5.0 node_modules/electron-packager/node_modules/extract-zip/node_modules/mkdirp
└── minimist@0.0.8
readable-stream@1.1.14 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/readable-stream
├── inherits@2.0.1
├── string_decoder@0.10.31
├── isarray@0.0.1
└── core-util-is@1.0.2
yauzl@2.4.1 node_modules/electron-packager/node_modules/extract-zip/node_modules/yauzl
└── fd-slicer@1.0.1 (pend@1.2.0)
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
glob@6.0.4 node_modules/electron-packager/node_modules/asar/node_modules/glob
├── path-is-absolute@1.0.0
├── inherits@2.0.1
├── once@1.3.3 (wrappy@1.0.2)
└── inflight@1.0.5 (wrappy@1.0.2)
load-json-file@1.1.0 node_modules/airplayer/node_modules/internal-ip/node_modules/meow/node_modules/read-pkg-up/node_modules/read-pkg/node_modules/load-json-file
├── pify@2.3.0
├── graceful-fs@4.1.4
├── strip-bom@2.0.0 (is-utf8@0.2.1)
├── pinkie-promise@2.0.1 (pinkie@2.0.4)
└── parse-json@2.2.0 (error-ex@1.3.0)
error@4.4.0 node_modules/main-loop/node_modules/error
├── camelize@1.0.0
├── string-template@0.2.1
└── xtend@4.0.1
touch@0.0.3 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/touch
└── nopt@1.0.10 (abbrev@1.0.7)
split2@0.2.1 node_modules/srt-to-vtt/node_modules/split2
readable-stream@1.1.14 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/decompress-zip/node_modules/readable-stream
├── string_decoder@0.10.31
├── isarray@0.0.1
├── inherits@2.0.1
└── core-util-is@1.0.2
fs-extra@0.27.0 node_modules/fs-extra
├── path-is-absolute@1.0.0
├── klaw@1.3.0
├── jsonfile@2.3.1
└── graceful-fs@4.1.4
electron-osx-sign@0.3.1 node_modules/electron-packager/node_modules/electron-osx-sign
├── debug@2.2.0 (ms@0.7.1)
├── run-series@1.1.4
└── minimist@1.2.0
through2@0.6.5 node_modules/srt-to-vtt/node_modules/through2
├── xtend@4.0.1
└── readable-stream@1.0.34 (isarray@0.0.1, inherits@2.0.1, string_decoder@0.10.31, core-util-is@1.0.2)
readable-stream@2.0.6 node_modules/dlnacasts/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream
├── process-nextick-args@1.0.7
├── util-deprecate@1.0.2
├── isarray@1.0.0
├── string_decoder@0.10.31
└── core-util-is@1.0.2
electron-osx-sign@0.3.1 node_modules/electron-osx-sign
└── debug@2.2.0 (ms@0.7.1)
glob@6.0.4 node_modules/electron-winstaller/node_modules/asar/node_modules/glob
├── path-is-absolute@1.0.0
├── once@1.3.3 (wrappy@1.0.2)
├── inherits@2.0.1
└── inflight@1.0.5 (wrappy@1.0.2)
concat-stream@1.5.0 node_modules/electron-packager/node_modules/extract-zip/node_modules/concat-stream
├── typedarray@0.0.6
├── inherits@2.0.1
└── readable-stream@2.0.6 (process-nextick-args@1.0.7, util-deprecate@1.0.2, isarray@1.0.0, core-util-is@1.0.2, string_decoder@0.10.31)
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
stream-splicer@1.3.2 node_modules/srt-to-vtt/node_modules/to-utf-8/node_modules/stream-splicer
├── indexof@0.0.1
├── isarray@0.0.1
├── readable-wrap@1.0.0
├── through2@1.1.1 (xtend@4.0.1)
├── inherits@2.0.1
└── readable-stream@1.1.14 (string_decoder@0.10.31, core-util-is@1.0.2)
glob@6.0.4 node_modules/standard/node_modules/standard-engine/node_modules/deglob/node_modules/glob
├── path-is-absolute@1.0.0
├── once@1.3.3 (wrappy@1.0.2)
├── inflight@1.0.5 (wrappy@1.0.2)
├── minimatch@3.0.0 (brace-expansion@1.1.4)
└── inherits@2.0.1
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
readable-stream@2.0.6 node_modules/airplayer/node_modules/airplay-protocol/node_modules/concat-stream/node_modules/readable-stream
├── isarray@1.0.0
├── process-nextick-args@1.0.7
├── util-deprecate@1.0.2
├── core-util-is@1.0.2
└── string_decoder@0.10.31
har-validator@2.0.6 node_modules/gh-release/node_modules/request/node_modules/har-validator
├── pinkie-promise@2.0.1 (pinkie@2.0.4)
├── commander@2.9.0 (graceful-readlink@1.0.1)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
└── is-my-json-valid@2.13.1 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.1, generate-object-property@1.2.0)
sax@0.3.5 node_modules/dlnacasts/node_modules/upnp-mediarenderer-client/node_modules/elementtree/node_modules/sax
through2@0.5.1 node_modules/srt-to-vtt/node_modules/to-utf-8/node_modules/peek-stream/node_modules/through2
├── xtend@3.0.0
└── readable-stream@1.0.34 (isarray@0.0.1, inherits@2.0.1, core-util-is@1.0.2, string_decoder@0.10.31)
hawk@3.1.3 node_modules/gh-release/node_modules/request/node_modules/hawk
├── cryptiles@2.0.5
├── sntp@1.0.9
├── boom@2.10.1
└── hoek@2.16.3
fs-extra@0.26.7 node_modules/electron-winstaller/node_modules/fs-extra
├── jsonfile@2.3.1
├── graceful-fs@4.1.4
├── klaw@1.3.0
├── path-is-absolute@1.0.0
└── rimraf@2.5.2 (glob@7.0.3)
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
fs-extra@0.26.7 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/fs-extra
├── path-is-absolute@1.0.0
├── jsonfile@2.3.1
├── graceful-fs@4.1.4
├── klaw@1.3.0
└── rimraf@2.5.2 (glob@7.0.3)
readable-stream@2.0.6 node_modules/nobin-debian-installer/node_modules/tar-stream/node_modules/bl/node_modules/readable-stream
├── process-nextick-args@1.0.7
├── util-deprecate@1.0.2
├── isarray@1.0.0
├── core-util-is@1.0.2
├── inherits@2.0.1
└── string_decoder@0.10.31
fs-extra@0.26.7 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/fs-extra
├── path-is-absolute@1.0.0
├── graceful-fs@4.1.4
├── jsonfile@2.3.1
├── klaw@1.3.0
└── rimraf@2.5.2 (glob@7.0.3)
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
readable-stream@2.0.6 node_modules/gh-release/node_modules/request/node_modules/bl/node_modules/readable-stream
├── process-nextick-args@1.0.7
├── util-deprecate@1.0.2
├── isarray@1.0.0
├── string_decoder@0.10.31
├── core-util-is@1.0.2
└── inherits@2.0.1
rimraf@2.4.5 node_modules/electron-packager/node_modules/electron-download/node_modules/mv/node_modules/rimraf
└── glob@6.0.4 (path-is-absolute@1.0.0, once@1.3.3, inflight@1.0.5, minimatch@3.0.0, inherits@2.0.1)
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
readable-stream@2.0.6 node_modules/webtorrent/node_modules/package-json-versionify/node_modules/through2/node_modules/readable-stream
├── process-nextick-args@1.0.7
├── util-deprecate@1.0.2
├── isarray@1.0.0
├── core-util-is@1.0.2
├── string_decoder@0.10.31
└── inherits@2.0.1
ghauth@2.0.1 node_modules/gh-release/node_modules/ghauth
├── xtend@4.0.1
├── read@1.0.7 (mute-stream@0.0.6)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── bl@0.9.5 (readable-stream@1.0.34)
└── hyperquest@1.2.0 (through2@0.6.5, duplexer2@0.0.2)
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
request@2.55.0 node_modules/electron-winstaller/node_modules/asar/node_modules/mksnapshot/node_modules/request
├── caseless@0.9.0
├── aws-sign2@0.5.0
├── forever-agent@0.6.1
├── tunnel-agent@0.4.3
├── stringstream@0.0.5
├── oauth-sign@0.6.0
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── node-uuid@1.4.7
├── qs@2.4.2
├── combined-stream@0.0.7 (delayed-stream@0.0.5)
├── form-data@0.2.0 (async@0.9.2)
├── mime-types@2.0.14 (mime-db@1.12.0)
├── tough-cookie@2.2.2
├── http-signature@0.10.1 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)
├── hawk@2.3.1 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
├── bl@0.9.5 (readable-stream@1.0.34)
└── har-validator@1.8.0 (commander@2.9.0, chalk@1.1.3, is-my-json-valid@2.13.1, bluebird@2.10.2)
glob-expand@0.1.0 node_modules/nobin-debian-installer/node_modules/glob-expand
├── glob@4.4.2 (inherits@2.0.1, once@1.3.3, inflight@1.0.5, minimatch@2.0.10)
└── lodash@1.2.1
request@2.55.0 node_modules/electron-packager/node_modules/asar/node_modules/mksnapshot/node_modules/request
├── caseless@0.9.0
├── aws-sign2@0.5.0
├── forever-agent@0.6.1
├── tunnel-agent@0.4.3
├── stringstream@0.0.5
├── oauth-sign@0.6.0
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── node-uuid@1.4.7
├── qs@2.4.2
├── combined-stream@0.0.7 (delayed-stream@0.0.5)
├── form-data@0.2.0 (async@0.9.2)
├── mime-types@2.0.14 (mime-db@1.12.0)
├── tough-cookie@2.2.2
├── http-signature@0.10.1 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)
├── bl@0.9.5 (readable-stream@1.0.34)
├── hawk@2.3.1 (cryptiles@2.0.5, sntp@1.0.9, boom@2.10.1, hoek@2.16.3)
└── har-validator@1.8.0 (commander@2.9.0, chalk@1.1.3, is-my-json-valid@2.13.1, bluebird@2.10.2)
bencode@0.9.0 node_modules/parse-torrent/node_modules/parse-torrent-file/node_modules/bencode
bencode@0.9.0 node_modules/create-torrent/node_modules/bencode
fs-extra@0.28.0 node_modules/electron-packager/node_modules/fs-extra
├── path-is-absolute@1.0.0
├── klaw@1.3.0
├── graceful-fs@4.1.4
├── jsonfile@2.3.1
└── rimraf@2.5.2 (glob@7.0.3)
through2@0.2.3 node_modules/gh-release/node_modules/gh-release-assets/node_modules/progress-stream/node_modules/through2
├── xtend@2.1.2 (object-keys@0.4.0)
└── readable-stream@1.1.14 (isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.2, inherits@2.0.1)
nugget@1.6.2 node_modules/electron-packager/node_modules/electron-download/node_modules/nugget
├── single-line-log@0.4.1
├── throttleit@0.0.2
├── minimist@1.2.0
├── pretty-bytes@1.0.4 (get-stdin@4.0.1, meow@3.7.0)
├── progress-stream@1.2.0 (speedometer@0.1.4, through2@0.2.3)
└── request@2.72.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, oauth-sign@0.8.2, forever-agent@0.6.1, tunnel-agent@0.4.3, caseless@0.11.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, aws4@1.4.1, combined-stream@1.0.5, node-uuid@1.4.7, qs@6.1.0, mime-types@2.1.11, tough-cookie@2.2.2, form-data@1.0.0-rc4, bl@1.1.2, har-validator@2.0.6, http-signature@1.1.1, hawk@3.1.3)

> electron-prebuilt@1.2.1 postinstall /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! electron-prebuilt@1.2.1 postinstall: `node install.js`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the electron-prebuilt@1.2.1 postinstall script.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.1.19+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! cwd /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
bencode@0.9.0 node_modules/webtorrent/node_modules/ut_pex/node_modules/bencode
xmlbuilder@4.0.0 node_modules/plist/node_modules/xmlbuilder
└── lodash@3.10.1
protobufjs@3.8.2 node_modules/chromecasts/node_modules/castv2-client/node_modules/castv2/node_modules/protobufjs
├── ascli@0.3.0 (optjs@3.2.2, colour@0.7.1)
└── bytebuffer@3.5.5 (bufferview@1.0.1, long@2.4.0)
xmlbuilder@4.2.1 node_modules/dlnacasts/node_modules/xml2js/node_modules/xmlbuilder
└── lodash@4.13.1
xmlbuilder@4.2.1 node_modules/chromecasts/node_modules/xml2js/node_modules/xmlbuilder
└── lodash@4.13.1
inquirer@0.8.5 node_modules/gh-release/node_modules/inquirer
├── ansi-regex@1.1.1
├── through@2.3.8
├── readline2@0.1.1 (strip-ansi@2.0.1, mute-stream@0.0.4)
├── figures@1.7.0 (object-assign@4.1.0, escape-string-regexp@1.0.5)
├── cli-width@1.1.1
├── lodash@3.10.1
└── rx@2.5.3
eslint@2.10.2 node_modules/standard/node_modules/eslint
├── path-is-absolute@1.0.0
├── path-is-inside@1.0.1
├── imurmurhash@0.1.4
├── strip-json-comments@1.0.4
├── pluralize@1.2.1
├── ignore@3.1.2
├── progress@1.1.8
├── globals@9.8.0
├── estraverse@4.2.0
├── text-table@0.2.0
├── esutils@2.0.2
├── user-home@2.0.0 (os-homedir@1.0.1)
├── is-resolvable@1.0.0 (tryit@1.0.2)
├── require-uncached@1.0.2 (resolve-from@1.0.1, caller-path@0.1.0)
├── debug@2.2.0 (ms@0.7.1)
├── json-stable-stringify@1.0.1 (jsonify@0.0.0)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, strip-ansi@3.0.1, has-ansi@2.0.0)
├── optionator@0.8.1 (fast-levenshtein@1.1.3, type-check@0.3.2, deep-is@0.1.3, levn@0.3.0, wordwrap@1.0.0, prelude-ls@1.1.2)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── doctrine@1.2.2 (isarray@1.0.0, esutils@1.1.6)
├── glob@7.0.3 (inherits@2.0.1, once@1.3.3, inflight@1.0.5, minimatch@3.0.0)
├── concat-stream@1.5.1 (inherits@2.0.1, typedarray@0.0.6, readable-stream@2.0.6)
├── shelljs@0.6.0
├── is-my-json-valid@2.13.1 (jsonpointer@2.0.0, generate-function@2.0.0, xtend@4.0.1, generate-object-property@1.2.0)
├── inquirer@0.12.0 (strip-ansi@3.0.1, ansi-regex@2.0.0, ansi-escapes@1.4.0, through@2.3.8, figures@1.7.0, cli-width@2.1.0, cli-cursor@1.0.2, run-async@0.1.0, readline2@1.0.1, string-width@1.0.1, rx-lite@3.1.2)
├── file-entry-cache@1.2.4 (object-assign@4.1.0, flat-cache@1.0.10)
├── espree@3.1.4 (acorn-jsx@3.0.1, acorn@3.2.0)
├── js-yaml@3.6.1 (esprima@2.7.2, argparse@1.0.7)
├── table@3.7.8 (slice-ansi@0.0.4, strip-ansi@3.0.1, tv4@1.2.7, string-width@1.0.1, xregexp@3.1.1, bluebird@3.4.0)
├── es6-map@0.1.4 (d@0.1.1, es6-symbol@3.1.0, event-emitter@0.3.4, es6-iterator@2.0.0, es6-set@0.1.4, es5-ext@0.10.11)
├── lodash@4.13.1
└── escope@3.6.0 (esrecurse@4.1.0, es6-weak-map@2.0.1)
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/npm-debug.log
npm ERR! not ok code 0
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ sync
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm install node
npm WARN package.json node@0.0.0 No description
npm WARN package.json node@0.0.0 No repository field.
npm WARN package.json node@0.0.0 No README data
npm WARN deprecated node@0.0.0: To update or install node, go to http://nodejs.org/
node@0.0.0 node_modules/node
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ npm install 
npm WARN package.json node@0.0.0 No repository field.
npm WARN engine appdmg@0.4.5: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN optional dep failed, continuing appdmg@0.4.5
npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
\
> electron-prebuilt@1.2.1 postinstall /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! electron-prebuilt@1.2.1 postinstall: `node install.js`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the electron-prebuilt@1.2.1 postinstall script.
npm ERR! This is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.1.19+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/npm-debug.log
npm ERR! not ok code 0
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $ nice -n20 npm start

> webtorrent-desktop@0.7.2 start /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop
> electron .

sh: 1: electron: not found

npm ERR! webtorrent-desktop@0.7.2 start: `electron .`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the webtorrent-desktop@0.7.2 start script.
npm ERR! This is most likely a problem with the webtorrent-desktop package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron .
npm ERR! You can get their info via:
npm ERR!     npm owner ls webtorrent-desktop
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.1.19+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/webtorrent_io_runner/webtorrent_io/v2016_06/webtorrent-desktop/npm-debug.log
npm ERR! not ok code 0
webtorrent_io_runner@computenode1softf1com ~/webtorrent_io/v2016_06/webtorrent-desktop $
Flet commented 8 years ago

Is it possible to update to a newer version of node and try again? Maybe node v4?

npm WARN engine appdmg@0.4.5: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"}
c0b41 commented 8 years ago

@martinvahi because electron-prebuilt not support arm.

martinvahi commented 8 years ago

Thank You both for Your answers.

What regards to the installation of some newer version of node, then at the start of "the long story" there is an attempt to upgrade the node:

npm install npm@latest
blablabla
npm update

but if it is really so as the c0b41 sais it is, that the "electron-prebuilt" does not support arm, then there is a flaw, because the point of nodejs, as little as I understand it, is to allow the creation of cross-platform applications and allow the use of the same code at both, the browser side and the server side, but if some of the packages are not cross-platform, then the question arises, what benefits does the npm and nodejs offer, if compared to other package collections and packaging systems?

On the other hand, if WebTorrent is designed to depend on nonportable dependencies, while trying to become a pervasive web technology, then there's an architectural flaw in WebTorrent.

I guess that You have to decide, what Your quality standards are. I see a flaw, but if You think that it's OK, then please feel free to close this bug report and consider the lack of Raspberry Pi support a non-issue, which would be a stupid idea, given the goal of the WebTorrent. I do not know. You decide.

Thank You for reading my comment.

Flet commented 8 years ago

electron is now releasing an arm version: https://github.com/electron/electron/releases/tag/v1.2.2

electron-prebuilt will pick it up just fine. However, another person is having an issue with electron-prebuilt on a Pi 1. I know the Pi 1 uses ARMv6 and the Pi 2 uses ARMv7, so perhaps electron is targeting a newer ARM architecture with their build? Not sure.

npm install npm@latest

This is updating npm to the latest version. Node itself would need to be updated. There are some online resources available that talk about updating node on a pi 1, but its not a totally straightforward process unfortunately.

It would be pretty rad to have a webtorrent-desktop version pre-built and downloadable so folks would not need to deal with the same painful process. This would probably involve more work and additional hardware to accomplish for each release. I don't know if this little open source project is ready to tackle these problems.

Another alternative is to use the webtorrent CLI package instead. It has no native dependencies so it should work without issues on a pi (it may still require updating node to a newer version...).

So yeah, it sounds like there are some problems to solve here. If you do end up getting things running, please let us know!

feross commented 8 years ago

@martinvahi You need to install nodejs-legacy so that node will be symlinked to nodejs. See https://packages.debian.org/sid/nodejs-legacy That should fix the npm errors I'm seeing.

As @Flet says, you should also update Node.js to at least v4 (LTS). The PPA to use is here: https://github.com/nodesource/distributions#installation-instructions Not sure if there's other Pi-specific things you need to do to update Node.js.