hypercore-protocol / community

Public discussions for Hypercore Protocol
16 stars 1 forks source link

Provide self-contained installer for hypercore daemon #4

Open rklaehn opened 4 years ago

rklaehn commented 4 years ago

It would be nice to have a self-contained installer (like an appimage for linux, dmg for OSX, ...) for the hypercore daemon. Beaker browser provides an appimage, which worked at first try for me.

rklaehn commented 4 years ago

I tried to install the daemon when it was announced on hackernews. Did not work because I was on nodejs 8.0. Now I upgraded to v10.20.1, and at least the install did work. Unfortunately I am now stuck in something about the fuse setup not working.

$ hyperdrive fuse-setup
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
(node:25140) SyntaxError Plugin: hyperdrive-daemon-client: Unexpected token =
module: @oclif/config@1.15.1
task: toCached
plugin: hyperdrive-daemon-client
root: /home/rklaehn/.nvm/versions/node/v10.20.1/lib/node_modules/hyperdrive-daemon/node_modules/hyperdrive-daemon-client
See more details with DEBUG=*
 ›   Error: command fuse-setup not found

Wrong nodejs version again? Not much of a nodejs/npm expert...

mafintosh commented 4 years ago

@rklaehn as a rule use latest lts, that’s the one we use.

That’s Node 12 atm

@andrewosh did we add this to the readme or just discuss it?

andrewosh commented 4 years ago

Yep it's added as a note in the Installation section. Node 12's the way to go at the moment.

rklaehn commented 4 years ago

Thanks. Works with latest node. A self-contained installer would still be nice though...

$ node --version
v12.16.3